home *** CD-ROM | disk | FTP | other *** search
/ The Frank Lloyd Wright Companion / The Frank Lloyd Wright Companion.iso / fullmacapps / macfllwc_small.sit / MacFLLWC_Small / flw.mvb.rsrc / CODE_5_QH Main5.txt < prev    next >
Text File  |  1995-09-30  |  619KB  |  11,269 lines

  1. # near model CODE resource
  2. # jump table entries: 58832-58931 (100 of them)
  3. 00000000  FFFF                     .extension 0xFFF // unimplemented
  4. 00000002  E5D0                     roxl  .w   [A0]
  5. 00000004  0000 759E                ori.b      D0, 0x9E
  6. fn00000008:
  7. 00000008  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  8. 0000000C  514F                     subq.w     A7, 8
  9. 0000000E  2C6F 0030                movea.l    A6, [A7 + 0x30]
  10. 00000012  246F 0034                movea.l    A2, [A7 + 0x34]
  11. 00000016  2C2F 0038                move.l     D6, [A7 + 0x38]
  12. 0000001A  2E2F 003C                move.l     D7, [A7 + 0x3C]
  13. 0000001E  266F 0040                movea.l    A3, [A7 + 0x40]
  14. 00000022  7A00                     moveq.l    D5, 0x00
  15. 00000024  2F46 0004                move.l     [A7 + 0x4], D6
  16. 00000028  284A                     movea.l    A4, A2
  17. 0000002A  78FF                     moveq.l    D4, 0xFFFFFFFF
  18. 0000002C  7020                     moveq.l    D0, 0x20
  19. 0000002E  BE80                     cmp.l      D7, D0
  20. 00000030  57C0                     seq        D0
  21. 00000032  4400                     neg.b      D0
  22. 00000034  4880                     ext.w      D0
  23. 00000036  48C0                     ext.l      D0
  24. 00000038  2E80                     move.l     [A7], D0
  25. 0000003A  6030                     bra        +0x32 /* 0000006C */
  26. label0000003C:
  27. 0000003C  2605                     move.l     D3, D5
  28. 0000003E  D686                     add.l      D3, D6
  29. 00000040  5383                     subq.l     D3, 1
  30. 00000042  E28B                     lsr        D3, 1
  31. 00000044  2003                     move.l     D0, D3
  32. 00000046  2207                     move.l     D1, D7
  33. 00000048  4EAD D8F8                jsr        [A5 - 0x2708]
  34. 0000004C  204A                     movea.l    A0, A2
  35. 0000004E  D1C0                     add.l      A0, D0
  36. 00000050  2848                     movea.l    A4, A0
  37. 00000052  2F0C                     move.l     -[A7], A4
  38. 00000054  2F0E                     move.l     -[A7], A6
  39. 00000056  4E93                     jsr        [A3]
  40. 00000058  2800                     move.l     D4, D0
  41. 0000005A  4A84                     tst.l      D4
  42. 0000005C  504F                     addq.w     A7, 8
  43. 0000005E  6710                     beq        +0x12 /* 00000070 */
  44. 00000060  4A84                     tst.l      D4
  45. 00000062  6C04                     bge        +0x6 /* 00000068 */
  46. 00000064  2C03                     move.l     D6, D3
  47. 00000066  6004                     bra        +0x6 /* 0000006C */
  48. label00000068:
  49. 00000068  2A03                     move.l     D5, D3
  50. 0000006A  5285                     addq.l     D5, 1
  51. label0000006C:
  52. 0000006C  BA86                     cmp.l      D5, D6
  53. 0000006E  65CC                     bcs        -0x32 /* 0000003C */
  54. label00000070:
  55. 00000070  2B44 8AB4                move.l     [A5 - 0x754C], D4
  56. 00000074  4AAD 8AB8                tst.l      [A5 - 0x7548]
  57. 00000078  6704                     beq        +0x6 /* 0000007E */
  58. 0000007A  4A84                     tst.l      D4
  59. 0000007C  677A                     beq        +0x7C /* 000000F8 */
  60. label0000007E:
  61. 0000007E  200C                     move.l     D0, A4
  62. 00000080  6776                     beq        +0x78 /* 000000F8 */
  63. 00000082  4A84                     tst.l      D4
  64. 00000084  6F02                     ble        +0x4 /* 00000088 */
  65. 00000086  D9C7                     add.l      A4, D7
  66. label00000088:
  67. 00000088  204C                     movea.l    A0, A4
  68. 0000008A  91CA                     sub.l      A0, A2
  69. 0000008C  2608                     move.l     D3, A0
  70. 0000008E  2007                     move.l     D0, D7
  71. 00000090  222F 0004                move.l     D1, [A7 + 0x4]
  72. 00000094  4EAD D8F8                jsr        [A5 - 0x2708]
  73. 00000098  2A00                     move.l     D5, D0
  74. 0000009A  2805                     move.l     D4, D5
  75. 0000009C  9883                     sub.l      D4, D3
  76. 0000009E  4A97                     tst.l      [A7]
  77. 000000A0  6740                     beq        +0x42 /* 000000E2 */
  78. 000000A2  4A84                     tst.l      D4
  79. 000000A4  6726                     beq        +0x28 /* 000000CC */
  80. 000000A6  244C                     movea.l    A2, A4
  81. 000000A8  264C                     movea.l    A3, A4
  82. 000000AA  D7C7                     add.l      A3, D7
  83. 000000AC  2604                     move.l     D3, D4
  84. 000000AE  D5C3                     add.l      A2, D3
  85. 000000B0  D7C3                     add.l      A3, D3
  86. 000000B2  6014                     bra        +0x16 /* 000000C8 */
  87. label000000B4:
  88. 000000B4  2722                     move.l     -[A3], -[A2]
  89. 000000B6  2722                     move.l     -[A3], -[A2]
  90. 000000B8  2722                     move.l     -[A3], -[A2]
  91. 000000BA  2722                     move.l     -[A3], -[A2]
  92. 000000BC  2722                     move.l     -[A3], -[A2]
  93. 000000BE  2722                     move.l     -[A3], -[A2]
  94. 000000C0  2722                     move.l     -[A3], -[A2]
  95. 000000C2  2722                     move.l     -[A3], -[A2]
  96. 000000C4  7020                     moveq.l    D0, 0x20
  97. 000000C6  9680                     sub.l      D3, D0
  98. label000000C8:
  99. 000000C8  4A83                     tst.l      D3
  100. 000000CA  66E8                     bne        -0x16 /* 000000B4 */
  101. label000000CC:
  102. 000000CC  244E                     movea.l    A2, A6
  103. 000000CE  264C                     movea.l    A3, A4
  104. 000000D0  26DA                     move.l     [A3]+, [A2]+
  105. 000000D2  26DA                     move.l     [A3]+, [A2]+
  106. 000000D4  26DA                     move.l     [A3]+, [A2]+
  107. 000000D6  26DA                     move.l     [A3]+, [A2]+
  108. 000000D8  26DA                     move.l     [A3]+, [A2]+
  109. 000000DA  26DA                     move.l     [A3]+, [A2]+
  110. 000000DC  26DA                     move.l     [A3]+, [A2]+
  111. 000000DE  2692                     move.l     [A3], [A2]
  112. 000000E0  6016                     bra        +0x18 /* 000000F8 */
  113. label000000E2:
  114. 000000E2  4A84                     tst.l      D4
  115. 000000E4  670A                     beq        +0xC /* 000000F0 */
  116. 000000E6  204C                     movea.l    A0, A4
  117. 000000E8  43F4 7800                lea.l      A1, [A4 + D7]
  118. 000000EC  2004                     move.l     D0, D4
  119. 000000EE  A02E                     syscall    BlockMove/BlockMoveData
  120. label000000F0:
  121. 000000F0  204E                     movea.l    A0, A6
  122. 000000F2  224C                     movea.l    A1, A4
  123. 000000F4  2007                     move.l     D0, D7
  124. 000000F6  A02E                     syscall    BlockMove/BlockMoveData
  125. label000000F8:
  126. 000000F8  504F                     addq.w     A7, 8
  127. 000000FA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  128. 000000FE  4E75                     rts
  129. fn00000100:
  130. 00000100  226F 0004                movea.l    A1, [A7 + 0x4]
  131. 00000104  206F 0008                movea.l    A0, [A7 + 0x8]
  132. 00000108  7400                     moveq.l    D2, 0x00
  133. 0000010A  4210                     clr.b      [A0]
  134. 0000010C  6020                     bra        +0x22 /* 0000012E */
  135. label0000010E:
  136. 0000010E  1219                     move.b     D1, [A1]+
  137. 00000110  4A01                     tst.b      D1
  138. 00000112  6726                     beq        +0x28 /* 0000013A */
  139. 00000114  0C01 0026                cmpi.b     D1, 0x26 /* '&' */
  140. 00000118  6606                     bne        +0x8 /* 00000120 */
  141. 0000011A  0C11 0026                cmpi.b     [A1], 0x26 /* '&' */
  142. 0000011E  660C                     bne        +0xE /* 0000012C */
  143. label00000120:
  144. 00000120  5210                     addq.b     [A0], 1
  145. 00000122  7000                     moveq.l    D0, 0x00
  146. 00000124  1010                     move.b     D0, [A0]
  147. 00000126  1181 0000                move.b     [A0 + D0.w], D1
  148. 0000012A  6002                     bra        +0x4 /* 0000012E */
  149. label0000012C:
  150. 0000012C  1411                     move.b     D2, [A1]
  151. label0000012E:
  152. 0000012E  7000                     moveq.l    D0, 0x00
  153. 00000130  1010                     move.b     D0, [A0]
  154. 00000132  0C80 0000 00FF           cmpi.l     D0, 0xFF
  155. 00000138  6DD4                     blt        -0x2A /* 0000010E */
  156. label0000013A:
  157. 0000013A  1002                     move.b     D0, D2
  158. 0000013C  4E75                     rts
  159. fn0000013E:
  160. 0000013E  226F 0004                movea.l    A1, [A7 + 0x4]
  161. 00000142  41ED E650                lea.l      A0, [A5 - 0x19B0]
  162. 00000146  2288                     move.l     [A1], A0
  163. 00000148  41ED E658                lea.l      A0, [A5 - 0x19A8]
  164. 0000014C  2348 0004                move.l     [A1 + 0x4], A0
  165. 00000150  41ED E668                lea.l      A0, [A5 - 0x1998]
  166. 00000154  2348 0008                move.l     [A1 + 0x8], A0
  167. 00000158  41ED E660                lea.l      A0, [A5 - 0x19A0]
  168. 0000015C  2348 000C                move.l     [A1 + 0xC], A0
  169. 00000160  41ED E670                lea.l      A0, [A5 - 0x1990]
  170. 00000164  2348 0010                move.l     [A1 + 0x10], A0
  171. 00000168  41ED E678                lea.l      A0, [A5 - 0x1988]
  172. 0000016C  2348 0018                move.l     [A1 + 0x18], A0
  173. 00000170  41ED E690                lea.l      A0, [A5 - 0x1970]
  174. 00000174  2348 0014                move.l     [A1 + 0x14], A0
  175. 00000178  41ED E698                lea.l      A0, [A5 - 0x1968]
  176. 0000017C  2348 001C                move.l     [A1 + 0x1C], A0
  177. 00000180  41ED E6A0                lea.l      A0, [A5 - 0x1960]
  178. 00000184  2348 0020                move.l     [A1 + 0x20], A0
  179. 00000188  41ED E6A8                lea.l      A0, [A5 - 0x1958]
  180. 0000018C  2348 0024                move.l     [A1 + 0x24], A0
  181. 00000190  41ED E6B0                lea.l      A0, [A5 - 0x1950]
  182. 00000194  2348 0028                move.l     [A1 + 0x28], A0
  183. 00000198  41ED E6B8                lea.l      A0, [A5 - 0x1948]
  184. 0000019C  2348 002C                move.l     [A1 + 0x2C], A0
  185. 000001A0  41ED E6C0                lea.l      A0, [A5 - 0x1940]
  186. 000001A4  2348 0030                move.l     [A1 + 0x30], A0
  187. 000001A8  41ED E6C8                lea.l      A0, [A5 - 0x1938]
  188. 000001AC  2348 0034                move.l     [A1 + 0x34], A0
  189. 000001B0  41ED E680                lea.l      A0, [A5 - 0x1980]
  190. 000001B4  2348 0038                move.l     [A1 + 0x38], A0
  191. 000001B8  41ED E688                lea.l      A0, [A5 - 0x1978]
  192. 000001BC  2348 003C                move.l     [A1 + 0x3C], A0
  193. 000001C0  4E75                     rts
  194. fn000001C2:
  195. 000001C2  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  196. 000001C6  266F 0014                movea.l    A3, [A7 + 0x14]
  197. 000001CA  282F 0018                move.l     D4, [A7 + 0x18]
  198. 000001CE  7600                     moveq.l    D3, 0x00
  199. 000001D0  4A84                     tst.l      D4
  200. 000001D2  6D28                     blt        +0x2A /* 000001FC */
  201. 000001D4  4227                     clr.b      -[A7]
  202. 000001D6  2F04                     move.l     -[A7], D4
  203. 000001D8  2F0B                     move.l     -[A7], A3
  204. 000001DA  4EBA 54A4                jsr        [PC + 0x54A4 /* 00005680 */]
  205. 000001DE  2448                     movea.l    A2, A0
  206. 000001E0  2008                     move.l     D0, A0
  207. 000001E2  4FEF 000A                lea.l      A7, [A7 + 0xA]
  208. 000001E6  6714                     beq        +0x16 /* 000001FC */
  209. 000001E8  362A 0044                move.w     D3, [A2 + 0x44]
  210. 000001EC  1F3C 0002                move.b     -[A7], 0x2
  211. 000001F0  42A7                     clr.l      -[A7]
  212. 000001F2  2F0B                     move.l     -[A7], A3
  213. 000001F4  4EBA 548A                jsr        [PC + 0x548A /* 00005680 */]
  214. 000001F8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  215. label000001FC:
  216. 000001FC  3003                     move.w     D0, D3
  217. 000001FE  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  218. 00000202  4E75                     rts
  219. 00000204  48E7 1030                movem.l    -[A7], D3,A2,A3
  220. 00000208  266F 0010                movea.l    A3, [A7 + 0x10]
  221. 0000020C  262F 0014                move.l     D3, [A7 + 0x14]
  222. 00000210  4A83                     tst.l      D3
  223. 00000212  6D48                     blt        +0x4A /* 0000025C */
  224. 00000214  4227                     clr.b      -[A7]
  225. 00000216  2F03                     move.l     -[A7], D3
  226. 00000218  2F0B                     move.l     -[A7], A3
  227. 0000021A  4EBA 5464                jsr        [PC + 0x5464 /* 00005680 */]
  228. 0000021E  2448                     movea.l    A2, A0
  229. 00000220  2008                     move.l     D0, A0
  230. 00000222  4FEF 000A                lea.l      A7, [A7 + 0xA]
  231. 00000226  6734                     beq        +0x36 /* 0000025C */
  232. 00000228  4AAA 0050                tst.l      [A2 + 0x50]
  233. 0000022C  671E                     beq        +0x20 /* 0000024C */
  234. 0000022E  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  235. 00000232  4EAD DD80                jsr        [A5 - 0x2280]
  236. 00000236  584F                     addq.w     A7, 4
  237. 00000238  2F08                     move.l     -[A7], A0
  238. 0000023A  2F0A                     move.l     -[A7], A2
  239. 0000023C  4EBA 1EAA                jsr        [PC + 0x1EAA /* 000020E8 */]
  240. 00000240  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  241. 00000244  4EAD DD88                jsr        [A5 - 0x2278]
  242. 00000248  4FEF 000C                lea.l      A7, [A7 + 0xC]
  243. label0000024C:
  244. 0000024C  1F3C 0002                move.b     -[A7], 0x2
  245. 00000250  42A7                     clr.l      -[A7]
  246. 00000252  2F0B                     move.l     -[A7], A3
  247. 00000254  4EBA 542A                jsr        [PC + 0x542A /* 00005680 */]
  248. 00000258  4FEF 000A                lea.l      A7, [A7 + 0xA]
  249. label0000025C:
  250. 0000025C  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  251. 00000260  4E75                     rts
  252. fn00000262:
  253. 00000262  48E7 1030                movem.l    -[A7], D3,A2,A3
  254. 00000266  266F 0010                movea.l    A3, [A7 + 0x10]
  255. 0000026A  262F 0014                move.l     D3, [A7 + 0x14]
  256. 0000026E  4A83                     tst.l      D3
  257. 00000270  6D4E                     blt        +0x50 /* 000002C0 */
  258. 00000272  4227                     clr.b      -[A7]
  259. 00000274  2F03                     move.l     -[A7], D3
  260. 00000276  2F0B                     move.l     -[A7], A3
  261. 00000278  4EBA 5406                jsr        [PC + 0x5406 /* 00005680 */]
  262. 0000027C  2448                     movea.l    A2, A0
  263. 0000027E  2008                     move.l     D0, A0
  264. 00000280  4FEF 000A                lea.l      A7, [A7 + 0xA]
  265. 00000284  673A                     beq        +0x3C /* 000002C0 */
  266. 00000286  4AAA 0050                tst.l      [A2 + 0x50]
  267. 0000028A  6724                     beq        +0x26 /* 000002B0 */
  268. 0000028C  486D E6D8                pea.l      [A5 - 0x1928]
  269. 00000290  42A7                     clr.l      -[A7]
  270. 00000292  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  271. 00000296  4EAD DD80                jsr        [A5 - 0x2280]
  272. 0000029A  584F                     addq.w     A7, 4
  273. 0000029C  2F08                     move.l     -[A7], A0
  274. 0000029E  2F0A                     move.l     -[A7], A2
  275. 000002A0  4EBA 1B20                jsr        [PC + 0x1B20 /* 00001DC2 */]
  276. 000002A4  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  277. 000002A8  4EAD DD88                jsr        [A5 - 0x2278]
  278. 000002AC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  279. label000002B0:
  280. 000002B0  1F3C 0002                move.b     -[A7], 0x2
  281. 000002B4  42A7                     clr.l      -[A7]
  282. 000002B6  2F0B                     move.l     -[A7], A3
  283. 000002B8  4EBA 53C6                jsr        [PC + 0x53C6 /* 00005680 */]
  284. 000002BC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  285. label000002C0:
  286. 000002C0  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  287. 000002C4  4E75                     rts
  288. 000002C6  48E7 1030                movem.l    -[A7], D3,A2,A3
  289. 000002CA  266F 0010                movea.l    A3, [A7 + 0x10]
  290. 000002CE  262F 0014                move.l     D3, [A7 + 0x14]
  291. 000002D2  4A83                     tst.l      D3
  292. 000002D4  6D4E                     blt        +0x50 /* 00000324 */
  293. 000002D6  4227                     clr.b      -[A7]
  294. 000002D8  2F03                     move.l     -[A7], D3
  295. 000002DA  2F0B                     move.l     -[A7], A3
  296. 000002DC  4EBA 53A2                jsr        [PC + 0x53A2 /* 00005680 */]
  297. 000002E0  2448                     movea.l    A2, A0
  298. 000002E2  2008                     move.l     D0, A0
  299. 000002E4  4FEF 000A                lea.l      A7, [A7 + 0xA]
  300. 000002E8  673A                     beq        +0x3C /* 00000324 */
  301. 000002EA  4AAA 0050                tst.l      [A2 + 0x50]
  302. 000002EE  6724                     beq        +0x26 /* 00000314 */
  303. 000002F0  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  304. 000002F4  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  305. 000002F8  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  306. 000002FC  4EAD DD80                jsr        [A5 - 0x2280]
  307. 00000300  584F                     addq.w     A7, 4
  308. 00000302  2F08                     move.l     -[A7], A0
  309. 00000304  4EBA 1E20                jsr        [PC + 0x1E20 /* 00002126 */]
  310. 00000308  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  311. 0000030C  4EAD DD88                jsr        [A5 - 0x2278]
  312. 00000310  4FEF 0010                lea.l      A7, [A7 + 0x10]
  313. label00000314:
  314. 00000314  1F3C 0002                move.b     -[A7], 0x2
  315. 00000318  42A7                     clr.l      -[A7]
  316. 0000031A  2F0B                     move.l     -[A7], A3
  317. 0000031C  4EBA 5362                jsr        [PC + 0x5362 /* 00005680 */]
  318. 00000320  4FEF 000A                lea.l      A7, [A7 + 0xA]
  319. label00000324:
  320. 00000324  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  321. 00000328  4E75                     rts
  322. fn0000032A:
  323. 0000032A  48E7 1030                movem.l    -[A7], D3,A2,A3
  324. 0000032E  266F 0010                movea.l    A3, [A7 + 0x10]
  325. 00000332  262F 0014                move.l     D3, [A7 + 0x14]
  326. 00000336  4A83                     tst.l      D3
  327. 00000338  6D3C                     blt        +0x3E /* 00000376 */
  328. 0000033A  4227                     clr.b      -[A7]
  329. 0000033C  2F03                     move.l     -[A7], D3
  330. 0000033E  2F0B                     move.l     -[A7], A3
  331. 00000340  4EBA 533E                jsr        [PC + 0x533E /* 00005680 */]
  332. 00000344  2448                     movea.l    A2, A0
  333. 00000346  200A                     move.l     D0, A2
  334. 00000348  4FEF 000A                lea.l      A7, [A7 + 0xA]
  335. 0000034C  6728                     beq        +0x2A /* 00000376 */
  336. 0000034E  206A 0050                movea.l    A0, [A2 + 0x50]
  337. 00000352  2050                     movea.l    A0, [A0]
  338. 00000354  4AA8 0030                tst.l      [A0 + 0x30]
  339. 00000358  670C                     beq        +0xE /* 00000366 */
  340. 0000035A  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  341. 0000035E  2F0A                     move.l     -[A7], A2
  342. 00000360  4EBA 29C8                jsr        [PC + 0x29C8 /* 00002D2A */]
  343. 00000364  504F                     addq.w     A7, 8
  344. label00000366:
  345. 00000366  1F3C 0002                move.b     -[A7], 0x2
  346. 0000036A  42A7                     clr.l      -[A7]
  347. 0000036C  2F0B                     move.l     -[A7], A3
  348. 0000036E  4EBA 5310                jsr        [PC + 0x5310 /* 00005680 */]
  349. 00000372  4FEF 000A                lea.l      A7, [A7 + 0xA]
  350. label00000376:
  351. 00000376  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  352. 0000037A  4E75                     rts
  353. 0000037C  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  354. 00000380  286F 0014                movea.l    A4, [A7 + 0x14]
  355. 00000384  262F 0018                move.l     D3, [A7 + 0x18]
  356. 00000388  97CB                     sub.l      A3, A3
  357. 0000038A  4A83                     tst.l      D3
  358. 0000038C  6D34                     blt        +0x36 /* 000003C2 */
  359. 0000038E  4227                     clr.b      -[A7]
  360. 00000390  2F03                     move.l     -[A7], D3
  361. 00000392  2F0C                     move.l     -[A7], A4
  362. 00000394  4EBA 52EA                jsr        [PC + 0x52EA /* 00005680 */]
  363. 00000398  2448                     movea.l    A2, A0
  364. 0000039A  2008                     move.l     D0, A0
  365. 0000039C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  366. 000003A0  6720                     beq        +0x22 /* 000003C2 */
  367. 000003A2  4AAA 0050                tst.l      [A2 + 0x50]
  368. 000003A6  670A                     beq        +0xC /* 000003B2 */
  369. 000003A8  206A 0050                movea.l    A0, [A2 + 0x50]
  370. 000003AC  2050                     movea.l    A0, [A0]
  371. 000003AE  2668 0004                movea.l    A3, [A0 + 0x4]
  372. label000003B2:
  373. 000003B2  1F3C 0002                move.b     -[A7], 0x2
  374. 000003B6  42A7                     clr.l      -[A7]
  375. 000003B8  2F0C                     move.l     -[A7], A4
  376. 000003BA  4EBA 52C4                jsr        [PC + 0x52C4 /* 00005680 */]
  377. 000003BE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  378. label000003C2:
  379. 000003C2  204B                     movea.l    A0, A3
  380. 000003C4  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  381. 000003C8  4E75                     rts
  382. fn000003CA:
  383. 000003CA  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  384. 000003CE  594F                     subq.w     A7, 4
  385. 000003D0  286F 001C                movea.l    A4, [A7 + 0x1C]
  386. 000003D4  282F 0020                move.l     D4, [A7 + 0x20]
  387. 000003D8  7600                     moveq.l    D3, 0x00
  388. 000003DA  4AAD 8C2C                tst.l      [A5 - 0x73D4]
  389. 000003DE  6704                     beq        +0x6 /* 000003E4 */
  390. 000003E0  4A84                     tst.l      D4
  391. 000003E2  6C0A                     bge        +0xC /* 000003EE */
  392. label000003E4:
  393. 000003E4  7000                     moveq.l    D0, 0x00
  394. 000003E6  584F                     addq.w     A7, 4
  395. 000003E8  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  396. 000003EC  4E75                     rts
  397. label000003EE:
  398. 000003EE  4227                     clr.b      -[A7]
  399. 000003F0  2F04                     move.l     -[A7], D4
  400. 000003F2  2F0C                     move.l     -[A7], A4
  401. 000003F4  4EBA 528A                jsr        [PC + 0x528A /* 00005680 */]
  402. 000003F8  2448                     movea.l    A2, A0
  403. 000003FA  200A                     move.l     D0, A2
  404. 000003FC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  405. 00000400  660A                     bne        +0xC /* 0000040C */
  406. 00000402  7000                     moveq.l    D0, 0x00
  407. 00000404  584F                     addq.w     A7, 4
  408. 00000406  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  409. 0000040A  4E75                     rts
  410. label0000040C:
  411. 0000040C  4AAA 0050                tst.l      [A2 + 0x50]
  412. 00000410  674E                     beq        +0x50 /* 00000460 */
  413. 00000412  206A 0050                movea.l    A0, [A2 + 0x50]
  414. 00000416  2050                     movea.l    A0, [A0]
  415. 00000418  4AA8 0030                tst.l      [A0 + 0x30]
  416. 0000041C  6742                     beq        +0x44 /* 00000460 */
  417. 0000041E  206A 0050                movea.l    A0, [A2 + 0x50]
  418. 00000422  2050                     movea.l    A0, [A0]
  419. 00000424  2668 0024                movea.l    A3, [A0 + 0x24]
  420. 00000428  200B                     move.l     D0, A3
  421. 0000042A  6734                     beq        +0x36 /* 00000460 */
  422. 0000042C  594F                     subq.w     A7, 4
  423. 0000042E  42A7                     clr.l      -[A7]
  424. 00000430  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  425. 00000436  486F 000C                pea.l      [A7 + 0xC]
  426. 0000043A  A9FD                     syscall    GetScrap
  427. 0000043C  201F                     move.l     D0, [A7]+
  428. 0000043E  4A80                     tst.l      D0
  429. 00000440  6F04                     ble        +0x6 /* 00000446 */
  430. 00000442  0043 0040                ori.w      D3, 0x40 /* '@' */
  431. label00000446:
  432. 00000446  2453                     movea.l    A2, [A3]
  433. 00000448  4A6A 003C                tst.w      [A2 + 0x3C]
  434. 0000044C  6704                     beq        +0x6 /* 00000452 */
  435. 0000044E  0043 0100                ori.w      D3, 0x100
  436. label00000452:
  437. 00000452  302A 0020                move.w     D0, [A2 + 0x20]
  438. 00000456  B06A 0022                cmp.w      D0, [A2 + 0x22]
  439. 0000045A  6704                     beq        +0x6 /* 00000460 */
  440. 0000045C  0043 00B0                ori.w      D3, 0xB0
  441. label00000460:
  442. 00000460  1F3C 0002                move.b     -[A7], 0x2
  443. 00000464  42A7                     clr.l      -[A7]
  444. 00000466  2F0C                     move.l     -[A7], A4
  445. 00000468  4EBA 5216                jsr        [PC + 0x5216 /* 00005680 */]
  446. 0000046C  3003                     move.w     D0, D3
  447. 0000046E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  448. 00000472  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  449. 00000476  4E75                     rts
  450. fn00000478:
  451. 00000478  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  452. 0000047C  2C6F 0018                movea.l    A6, [A7 + 0x18]
  453. 00000480  262F 001C                move.l     D3, [A7 + 0x1C]
  454. 00000484  4AAD 8C2C                tst.l      [A5 - 0x73D4]
  455. 00000488  6700 00FC                beq        +0xFE /* 00000586 */
  456. 0000048C  4A83                     tst.l      D3
  457. 0000048E  6D00 00F6                blt        +0xF8 /* 00000586 */
  458. 00000492  4227                     clr.b      -[A7]
  459. 00000494  2F03                     move.l     -[A7], D3
  460. 00000496  2F0E                     move.l     -[A7], A6
  461. 00000498  4EBA 51E6                jsr        [PC + 0x51E6 /* 00005680 */]
  462. 0000049C  2648                     movea.l    A3, A0
  463. 0000049E  2008                     move.l     D0, A0
  464. 000004A0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  465. 000004A4  6700 00E0                beq        +0xE2 /* 00000586 */
  466. 000004A8  4AAB 0050                tst.l      [A3 + 0x50]
  467. 000004AC  6700 00C8                beq        +0xCA /* 00000576 */
  468. 000004B0  206B 0050                movea.l    A0, [A3 + 0x50]
  469. 000004B4  2050                     movea.l    A0, [A0]
  470. 000004B6  4AA8 0024                tst.l      [A0 + 0x24]
  471. 000004BA  6700 00BA                beq        +0xBC /* 00000576 */
  472. 000004BE  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  473. 000004C2  4EAD DD80                jsr        [A5 - 0x2280]
  474. 000004C6  2448                     movea.l    A2, A0
  475. 000004C8  206A 0024                movea.l    A0, [A2 + 0x24]
  476. 000004CC  2850                     movea.l    A4, [A0]
  477. 000004CE  302C 0020                move.w     D0, [A4 + 0x20]
  478. 000004D2  B06C 0022                cmp.w      D0, [A4 + 0x22]
  479. 000004D6  56C0                     sne        D0
  480. 000004D8  4400                     neg.b      D0
  481. 000004DA  4880                     ext.w      D0
  482. 000004DC  48C0                     ext.l      D0
  483. 000004DE  2600                     move.l     D3, D0
  484. 000004E0  202F 0024                move.l     D0, [A7 + 0x24]
  485. 000004E4  584F                     addq.w     A7, 4
  486. 000004E6  0C80 0000 0008           cmpi.l     D0, 0x8
  487. 000004EC  6274                     bhi        +0x76 /* 00000562 */
  488. 000004EE  D040                     add.w      D0, D0
  489. 000004F0  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  490. 000004F4  4EFB 0002                jmp        [PC + D0.w + 0x2]
  491. 000004F8  006A 006A 006A           ori.w      [A2 + 0x6A], 0x6A /* 'j' */
  492. 000004FE  0012 002C                ori.b      [A2], 0x2C /* ',' */
  493. 00000502  0046 0056                ori.w      D6, 0x56 /* 'V' */
  494. 00000506  006A 005E 4A83           ori.w      [A2 + 0x4A83], 0x5E /* '^' */
  495. 0000050C  6754                     beq        +0x56 /* 00000562 */
  496. 0000050E  594F                     subq.w     A7, 4
  497. 00000510  A9FC                     syscall    ZeroScrap
  498. 00000512  201F                     move.l     D0, [A7]+
  499. 00000514  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  500. 00000518  A9D6                     syscall    TECut
  501. 0000051A  554F                     subq.w     A7, 2
  502. 0000051C  4EAD DA42                jsr        [A5 - 0x25BE]
  503. 00000520  301F                     move.w     D0, [A7]+
  504. 00000522  603E                     bra        +0x40 /* 00000562 */
  505. 00000524  4A83                     tst.l      D3
  506. 00000526  673A                     beq        +0x3C /* 00000562 */
  507. 00000528  594F                     subq.w     A7, 4
  508. 0000052A  A9FC                     syscall    ZeroScrap
  509. 0000052C  201F                     move.l     D0, [A7]+
  510. 0000052E  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  511. 00000532  A9D5                     syscall    TECopy
  512. 00000534  554F                     subq.w     A7, 2
  513. 00000536  4EAD DA42                jsr        [A5 - 0x25BE]
  514. 0000053A  301F                     move.w     D0, [A7]+
  515. 0000053C  6024                     bra        +0x26 /* 00000562 */
  516. 0000053E  554F                     subq.w     A7, 2
  517. 00000540  4EAD DA3C                jsr        [A5 - 0x25C4]
  518. 00000544  301F                     move.w     D0, [A7]+
  519. 00000546  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  520. 0000054A  A9DB                     syscall    TEPaste
  521. 0000054C  6014                     bra        +0x16 /* 00000562 */
  522. 0000054E  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  523. 00000552  A9D7                     syscall    TEDelete
  524. 00000554  600C                     bra        +0xE /* 00000562 */
  525. 00000556  42A7                     clr.l      -[A7]
  526. 00000558  4878 7FFF                push.l     0x7FFF
  527. 0000055C  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  528. 00000560  A9D1                     syscall    TESetSelect
  529. label00000562:
  530. 00000562  2F0A                     move.l     -[A7], A2
  531. 00000564  2F0B                     move.l     -[A7], A3
  532. 00000566  4EBA 25F2                jsr        [PC + 0x25F2 /* 00002B5A */]
  533. 0000056A  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  534. 0000056E  4EAD DD88                jsr        [A5 - 0x2278]
  535. 00000572  4FEF 000C                lea.l      A7, [A7 + 0xC]
  536. label00000576:
  537. 00000576  1F3C 0002                move.b     -[A7], 0x2
  538. 0000057A  42A7                     clr.l      -[A7]
  539. 0000057C  2F0E                     move.l     -[A7], A6
  540. 0000057E  4EBA 5100                jsr        [PC + 0x5100 /* 00005680 */]
  541. 00000582  4FEF 000A                lea.l      A7, [A7 + 0xA]
  542. label00000586:
  543. 00000586  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  544. 0000058A  4E75                     rts
  545. fn0000058C:
  546. 0000058C  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  547. 00000590  286F 0014                movea.l    A4, [A7 + 0x14]
  548. 00000594  4AAF 0018                tst.l      [A7 + 0x18]
  549. 00000598  6C0C                     bge        +0xE /* 000005A6 */
  550. 0000059A  2F0C                     move.l     -[A7], A4
  551. 0000059C  4EBA 52EC                jsr        [PC + 0x52EC /* 0000588A */]
  552. 000005A0  5B00                     subq.b     D0, 5
  553. 000005A2  584F                     addq.w     A7, 4
  554. 000005A4  667A                     bne        +0x7C /* 00000620 */
  555. label000005A6:
  556. 000005A6  1F3C 000C                move.b     -[A7], 0xC
  557. 000005AA  2F0C                     move.l     -[A7], A4
  558. 000005AC  4EBA 4EDC                jsr        [PC + 0x4EDC /* 0000548A */]
  559. 000005B0  2648                     movea.l    A3, A0
  560. 000005B2  2008                     move.l     D0, A0
  561. 000005B4  5C4F                     addq.w     A7, 6
  562. 000005B6  6768                     beq        +0x6A /* 00000620 */
  563. 000005B8  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  564. 000005BC  2F0B                     move.l     -[A7], A3
  565. 000005BE  4EBA 24B4                jsr        [PC + 0x24B4 /* 00002A74 */]
  566. 000005C2  2448                     movea.l    A2, A0
  567. 000005C4  200A                     move.l     D0, A2
  568. 000005C6  504F                     addq.w     A7, 8
  569. 000005C8  674E                     beq        +0x50 /* 00000618 */
  570. 000005CA  4A2A 0110                tst.b      [A2 + 0x110]
  571. 000005CE  6618                     bne        +0x1A /* 000005E8 */
  572. 000005D0  1F3C 0002                move.b     -[A7], 0x2
  573. 000005D4  1F3C 0006                move.b     -[A7], 0x6
  574. 000005D8  2F0C                     move.l     -[A7], A4
  575. 000005DA  4EBA 4EAE                jsr        [PC + 0x4EAE /* 0000548A */]
  576. 000005DE  5C4F                     addq.w     A7, 6
  577. 000005E0  3F10                     move.w     -[A7], [A0]
  578. 000005E2  4EBA 2EAE                jsr        [PC + 0x2EAE /* 00003492 */]
  579. 000005E6  584F                     addq.w     A7, 4
  580. label000005E8:
  581. 000005E8  306F 0024                movea.w    A0, [A7 + 0x24]
  582. 000005EC  2008                     move.l     D0, A0
  583. 000005EE  206F 0020                movea.l    A0, [A7 + 0x20]
  584. 000005F2  226A 0104                movea.l    A1, [A2 + 0x104]
  585. 000005F6  A9E2                     syscall    PtrToXHand
  586. 000005F8  3600                     move.w     D3, D0
  587. 000005FA  671C                     beq        +0x1E /* 00000618 */
  588. 000005FC  4AAA 0104                tst.l      [A2 + 0x104]
  589. 00000600  670A                     beq        +0xC /* 0000060C */
  590. 00000602  206A 0104                movea.l    A0, [A2 + 0x104]
  591. 00000606  A023                     syscall    DisposHandle/DisposeHandle
  592. 00000608  42AA 0104                clr.l      [A2 + 0x104]
  593. label0000060C:
  594. 0000060C  3F03                     move.w     -[A7], D3
  595. 0000060E  3F3C 0002                move.w     -[A7], 0x2
  596. 00000612  4EAD DE98                jsr        [A5 - 0x2168]
  597. 00000616  584F                     addq.w     A7, 4
  598. label00000618:
  599. 00000618  2F0B                     move.l     -[A7], A3
  600. 0000061A  4EAD DD88                jsr        [A5 - 0x2278]
  601. 0000061E  584F                     addq.w     A7, 4
  602. label00000620:
  603. 00000620  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  604. 00000624  4E75                     rts
  605. 00000626  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  606. 0000062A  266F 0028                movea.l    A3, [A7 + 0x28]
  607. 0000062E  282F 002C                move.l     D4, [A7 + 0x2C]
  608. 00000632  7600                     moveq.l    D3, 0x00
  609. 00000634  7E00                     moveq.l    D7, 0x00
  610. 00000636  206F 0030                movea.l    A0, [A7 + 0x30]
  611. 0000063A  2F10                     move.l     -[A7], [A0]
  612. 0000063C  4EAD DA8A                jsr        [A5 - 0x2576]
  613. 00000640  2848                     movea.l    A4, A0
  614. 00000642  2008                     move.l     D0, A0
  615. 00000644  584F                     addq.w     A7, 4
  616. 00000646  6700 013A                beq        +0x13C /* 00000782 */
  617. 0000064A  1F3C 000C                move.b     -[A7], 0xC
  618. 0000064E  2F0B                     move.l     -[A7], A3
  619. 00000650  4EBA 4E38                jsr        [PC + 0x4E38 /* 0000548A */]
  620. 00000654  2C48                     movea.l    A6, A0
  621. 00000656  2008                     move.l     D0, A0
  622. 00000658  5C4F                     addq.w     A7, 6
  623. 0000065A  6700 00C4                beq        +0xC6 /* 00000720 */
  624. 0000065E  7C00                     moveq.l    D6, 0x00
  625. 00000660  594F                     subq.w     A7, 4
  626. 00000662  2F0E                     move.l     -[A7], A6
  627. 00000664  4EAD D9AC                jsr        [A5 - 0x2654]
  628. 00000668  201F                     move.l     D0, [A7]+
  629. 0000066A  2A00                     move.l     D5, D0
  630. 0000066C  2005                     move.l     D0, D5
  631. 0000066E  223C 0000 0112           move.l     D1, 0x112
  632. 00000674  4EAD D8FE                jsr        [A5 - 0x2702]
  633. 00000678  2600                     move.l     D3, D0
  634. 0000067A  2F0E                     move.l     -[A7], A6
  635. 0000067C  4EAD DD80                jsr        [A5 - 0x2280]
  636. 00000680  2448                     movea.l    A2, A0
  637. 00000682  584F                     addq.w     A7, 4
  638. 00000684  607C                     bra        +0x7E /* 00000702 */
  639. label00000686:
  640. 00000686  B9EA 0108                cmpa.l     A4, [A2 + 0x108]
  641. 0000068A  6672                     bne        +0x74 /* 000006FE */
  642. 0000068C  4A84                     tst.l      D4
  643. 0000068E  6D18                     blt        +0x1A /* 000006A8 */
  644. 00000690  0C2A 0005 0110           cmpi.b     [A2 + 0x110], 0x5
  645. 00000696  6710                     beq        +0x12 /* 000006A8 */
  646. 00000698  1F2A 0110                move.b     -[A7], [A2 + 0x110]
  647. 0000069C  2F04                     move.l     -[A7], D4
  648. 0000069E  2F0B                     move.l     -[A7], A3
  649. 000006A0  4EBA 2440                jsr        [PC + 0x2440 /* 00002AE2 */]
  650. 000006A4  4FEF 000A                lea.l      A7, [A7 + 0xA]
  651. label000006A8:
  652. 000006A8  4AAA 0100                tst.l      [A2 + 0x100]
  653. 000006AC  6712                     beq        +0x14 /* 000006C0 */
  654. 000006AE  42A7                     clr.l      -[A7]
  655. 000006B0  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  656. 000006B4  4EAD E920                jsr        [A5 - 0x16E0]
  657. 000006B8  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  658. 000006BC  A955                     syscall    DisposeControl
  659. 000006BE  504F                     addq.w     A7, 8
  660. label000006C0:
  661. 000006C0  4AAA 0104                tst.l      [A2 + 0x104]
  662. 000006C4  6706                     beq        +0x8 /* 000006CC */
  663. 000006C6  206A 0104                movea.l    A0, [A2 + 0x104]
  664. 000006CA  A023                     syscall    DisposHandle/DisposeHandle
  665. label000006CC:
  666. 000006CC  4AAA 0108                tst.l      [A2 + 0x108]
  667. 000006D0  670A                     beq        +0xC /* 000006DC */
  668. 000006D2  2F2A 0108                move.l     -[A7], [A2 + 0x108]
  669. 000006D6  4EAD DA84                jsr        [A5 - 0x257C]
  670. 000006DA  584F                     addq.w     A7, 4
  671. label000006DC:
  672. 000006DC  4A83                     tst.l      D3
  673. 000006DE  6714                     beq        +0x16 /* 000006F4 */
  674. 000006E0  2003                     move.l     D0, D3
  675. 000006E2  223C 0000 0112           move.l     D1, 0x112
  676. 000006E8  4EAD D8F8                jsr        [A5 - 0x2708]
  677. 000006EC  41EA 0112                lea.l      A0, [A2 + 0x112]
  678. 000006F0  224A                     movea.l    A1, A2
  679. 000006F2  A02E                     syscall    BlockMove/BlockMoveData
  680. label000006F4:
  681. 000006F4  2C05                     move.l     D6, D5
  682. 000006F6  0486 0000 0112           subi.l     D6, 0x112
  683. 000006FC  600E                     bra        +0x10 /* 0000070C */
  684. label000006FE:
  685. 000006FE  45EA 0112                lea.l      A2, [A2 + 0x112]
  686. label00000702:
  687. 00000702  2003                     move.l     D0, D3
  688. 00000704  5383                     subq.l     D3, 1
  689. 00000706  4A80                     tst.l      D0
  690. 00000708  6600 FF7C                bne        -0x82 /* 00000686 */
  691. label0000070C:
  692. 0000070C  2F0E                     move.l     -[A7], A6
  693. 0000070E  4EAD DD88                jsr        [A5 - 0x2278]
  694. 00000712  BC85                     cmp.l      D6, D5
  695. 00000714  584F                     addq.w     A7, 4
  696. 00000716  6708                     beq        +0xA /* 00000720 */
  697. 00000718  204E                     movea.l    A0, A6
  698. 0000071A  2006                     move.l     D0, D6
  699. 0000071C  A024                     syscall    SetHandleSize
  700. 0000071E  7E01                     moveq.l    D7, 0x01
  701. label00000720:
  702. 00000720  4A87                     tst.l      D7
  703. 00000722  675E                     beq        +0x60 /* 00000782 */
  704. 00000724  4A84                     tst.l      D4
  705. 00000726  6D5A                     blt        +0x5C /* 00000782 */
  706. 00000728  4227                     clr.b      -[A7]
  707. 0000072A  2F04                     move.l     -[A7], D4
  708. 0000072C  2F0B                     move.l     -[A7], A3
  709. 0000072E  4EBA 4F50                jsr        [PC + 0x4F50 /* 00005680 */]
  710. 00000732  2448                     movea.l    A2, A0
  711. 00000734  2008                     move.l     D0, A0
  712. 00000736  4FEF 000A                lea.l      A7, [A7 + 0xA]
  713. 0000073A  6706                     beq        +0x8 /* 00000742 */
  714. 0000073C  4AAA 0050                tst.l      [A2 + 0x50]
  715. 00000740  6616                     bne        +0x18 /* 00000758 */
  716. label00000742:
  717. 00000742  1F3C 0002                move.b     -[A7], 0x2
  718. 00000746  2F04                     move.l     -[A7], D4
  719. 00000748  2F0B                     move.l     -[A7], A3
  720. 0000074A  4EBA 4F34                jsr        [PC + 0x4F34 /* 00005680 */]
  721. 0000074E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  722. 00000752  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  723. 00000756  4E75                     rts
  724. label00000758:
  725. 00000758  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  726. 0000075C  4EAD DD80                jsr        [A5 - 0x2280]
  727. 00000760  584F                     addq.w     A7, 4
  728. 00000762  2F08                     move.l     -[A7], A0
  729. 00000764  2F0A                     move.l     -[A7], A2
  730. 00000766  4EBA 22B4                jsr        [PC + 0x22B4 /* 00002A1C */]
  731. 0000076A  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  732. 0000076E  4EAD DD88                jsr        [A5 - 0x2278]
  733. 00000772  1F3C 0002                move.b     -[A7], 0x2
  734. 00000776  2F04                     move.l     -[A7], D4
  735. 00000778  2F0B                     move.l     -[A7], A3
  736. 0000077A  4EBA 4F04                jsr        [PC + 0x4F04 /* 00005680 */]
  737. 0000077E  4FEF 0016                lea.l      A7, [A7 + 0x16]
  738. label00000782:
  739. 00000782  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  740. 00000786  4E75                     rts
  741. 00000788  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  742. 0000078C  2C6F 0020                movea.l    A6, [A7 + 0x20]
  743. 00000790  2A2F 0024                move.l     D5, [A7 + 0x24]
  744. 00000794  182F 002C                move.b     D4, [A7 + 0x2C]
  745. 00000798  1F3C 000C                move.b     -[A7], 0xC
  746. 0000079C  2F0E                     move.l     -[A7], A6
  747. 0000079E  4EBA 4CEA                jsr        [PC + 0x4CEA /* 0000548A */]
  748. 000007A2  2848                     movea.l    A4, A0
  749. 000007A4  2008                     move.l     D0, A0
  750. 000007A6  5C4F                     addq.w     A7, 6
  751. 000007A8  6700 0092                beq        +0x94 /* 0000083C */
  752. 000007AC  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  753. 000007B0  2F0C                     move.l     -[A7], A4
  754. 000007B2  4EBA 22C0                jsr        [PC + 0x22C0 /* 00002A74 */]
  755. 000007B6  2448                     movea.l    A2, A0
  756. 000007B8  200A                     move.l     D0, A2
  757. 000007BA  504F                     addq.w     A7, 8
  758. 000007BC  6776                     beq        +0x78 /* 00000834 */
  759. 000007BE  4227                     clr.b      -[A7]
  760. 000007C0  2F05                     move.l     -[A7], D5
  761. 000007C2  2F0E                     move.l     -[A7], A6
  762. 000007C4  4EBA 4EBA                jsr        [PC + 0x4EBA /* 00005680 */]
  763. 000007C8  2648                     movea.l    A3, A0
  764. 000007CA  2008                     move.l     D0, A0
  765. 000007CC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  766. 000007D0  6740                     beq        +0x42 /* 00000812 */
  767. 000007D2  4AAB 0050                tst.l      [A3 + 0x50]
  768. 000007D6  673A                     beq        +0x3C /* 00000812 */
  769. 000007D8  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  770. 000007DC  4EAD DD80                jsr        [A5 - 0x2280]
  771. 000007E0  2608                     move.l     D3, A0
  772. 000007E2  2043                     movea.l    A0, D3
  773. 000007E4  4AA8 0030                tst.l      [A0 + 0x30]
  774. 000007E8  584F                     addq.w     A7, 4
  775. 000007EA  671C                     beq        +0x1E /* 00000808 */
  776. 000007EC  4AAA 0100                tst.l      [A2 + 0x100]
  777. 000007F0  6716                     beq        +0x18 /* 00000808 */
  778. 000007F2  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  779. 000007F6  4A04                     tst.b      D4
  780. 000007F8  6608                     bne        +0xA /* 00000802 */
  781. 000007FA  203C 0000 00FF           move.l     D0, 0xFF
  782. 00000800  6002                     bra        +0x4 /* 00000804 */
  783. label00000802:
  784. 00000802  7000                     moveq.l    D0, 0x00
  785. label00000804:
  786. 00000804  3F00                     move.w     -[A7], D0
  787. 00000806  A95D                     syscall    HiliteControl
  788. label00000808:
  789. 00000808  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  790. 0000080C  4EAD DD88                jsr        [A5 - 0x2278]
  791. 00000810  584F                     addq.w     A7, 4
  792. label00000812:
  793. 00000812  1F3C 0002                move.b     -[A7], 0x2
  794. 00000816  2F05                     move.l     -[A7], D5
  795. 00000818  2F0E                     move.l     -[A7], A6
  796. 0000081A  4EBA 4E64                jsr        [PC + 0x4E64 /* 00005680 */]
  797. 0000081E  1004                     move.b     D0, D4
  798. 00000820  EF08                     lsl        D0.b, 7
  799. 00000822  0200 0080                andi.b     D0, 0x80
  800. 00000826  022A 007F 010C           andi.b     [A2 + 0x10C], 0x7F
  801. 0000082C  812A 010C                or.b       [A2 + 0x10C], D0
  802. 00000830  4FEF 000A                lea.l      A7, [A7 + 0xA]
  803. label00000834:
  804. 00000834  2F0C                     move.l     -[A7], A4
  805. 00000836  4EAD DD88                jsr        [A5 - 0x2278]
  806. 0000083A  584F                     addq.w     A7, 4
  807. label0000083C:
  808. 0000083C  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  809. 00000840  4E75                     rts
  810. 00000842  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  811. 00000846  4FEF FEF8                lea.l      A7, [A7 - 0x108]
  812. 0000084A  2A2F 0130                move.l     D5, [A7 + 0x130]
  813. 0000084E  2C6F 013C                movea.l    A6, [A7 + 0x13C]
  814. 00000852  2E2F 0140                move.l     D7, [A7 + 0x140]
  815. 00000856  2C2F 0144                move.l     D6, [A7 + 0x144]
  816. 0000085A  97CB                     sub.l      A3, A3
  817. 0000085C  95CA                     sub.l      A2, A2
  818. 0000085E  42AF 0104                clr.l      [A7 + 0x104]
  819. 00000862  99CC                     sub.l      A4, A4
  820. 00000864  4AAF 0134                tst.l      [A7 + 0x134]
  821. 00000868  6D42                     blt        +0x44 /* 000008AC */
  822. 0000086A  4227                     clr.b      -[A7]
  823. 0000086C  2F2F 0136                move.l     -[A7], [A7 + 0x136]
  824. 00000870  2F05                     move.l     -[A7], D5
  825. 00000872  4EBA 4E0C                jsr        [PC + 0x4E0C /* 00005680 */]
  826. 00000876  2648                     movea.l    A3, A0
  827. 00000878  2008                     move.l     D0, A0
  828. 0000087A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  829. 0000087E  6706                     beq        +0x8 /* 00000886 */
  830. 00000880  4AAB 0050                tst.l      [A3 + 0x50]
  831. 00000884  6618                     bne        +0x1A /* 0000089E */
  832. label00000886:
  833. 00000886  1F3C 0002                move.b     -[A7], 0x2
  834. 0000088A  2F2F 0136                move.l     -[A7], [A7 + 0x136]
  835. 0000088E  2F05                     move.l     -[A7], D5
  836. 00000890  4EBA 4DEE                jsr        [PC + 0x4DEE /* 00005680 */]
  837. 00000894  4FEF 0112                lea.l      A7, [A7 + 0x112]
  838. 00000898  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  839. 0000089C  4E75                     rts
  840. label0000089E:
  841. 0000089E  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  842. 000008A2  4EAD DD80                jsr        [A5 - 0x2280]
  843. 000008A6  2448                     movea.l    A2, A0
  844. 000008A8  584F                     addq.w     A7, 4
  845. 000008AA  600E                     bra        +0x10 /* 000008BA */
  846. label000008AC:
  847. 000008AC  2F05                     move.l     -[A7], D5
  848. 000008AE  4EBA 4FDA                jsr        [PC + 0x4FDA /* 0000588A */]
  849. 000008B2  5B00                     subq.b     D0, 5
  850. 000008B4  584F                     addq.w     A7, 4
  851. 000008B6  6600 01E4                bne        +0x1E6 /* 00000A9C */
  852. label000008BA:
  853. 000008BA  200E                     move.l     D0, A6
  854. 000008BC  6608                     bne        +0xA /* 000008C6 */
  855. 000008BE  7605                     moveq.l    D3, 0x05
  856. 000008C0  99CC                     sub.l      A4, A4
  857. 000008C2  6000 00D0                bra        +0xD2 /* 00000994 */
  858. label000008C6:
  859. 000008C6  486D B57C                pea.l      [A5 - 0x4A84]
  860. 000008CA  2F16                     move.l     -[A7], [A6]
  861. 000008CC  4EAD DE10                jsr        [A5 - 0x21F0]
  862. 000008D0  4A80                     tst.l      D0
  863. 000008D2  504F                     addq.w     A7, 8
  864. 000008D4  6612                     bne        +0x14 /* 000008E8 */
  865. 000008D6  7600                     moveq.l    D3, 0x00
  866. 000008D8  200A                     move.l     D0, A2
  867. 000008DA  6700 00B8                beq        +0xBA /* 00000994 */
  868. 000008DE  284A                     movea.l    A4, A2
  869. 000008E0  508C                     addq.l     A4, 8
  870. 000008E2  508C                     addq.l     A4, 8
  871. 000008E4  6000 00AE                bra        +0xB0 /* 00000994 */
  872. label000008E8:
  873. 000008E8  486D B58A                pea.l      [A5 - 0x4A76]
  874. 000008EC  2F16                     move.l     -[A7], [A6]
  875. 000008EE  4EAD DE10                jsr        [A5 - 0x21F0]
  876. 000008F2  4A80                     tst.l      D0
  877. 000008F4  504F                     addq.w     A7, 8
  878. 000008F6  6612                     bne        +0x14 /* 0000090A */
  879. 000008F8  7601                     moveq.l    D3, 0x01
  880. 000008FA  200A                     move.l     D0, A2
  881. 000008FC  6700 0096                beq        +0x98 /* 00000994 */
  882. 00000900  284A                     movea.l    A4, A2
  883. 00000902  49EC 0014                lea.l      A4, [A4 + 0x14]
  884. 00000906  6000 008C                bra        +0x8E /* 00000994 */
  885. label0000090A:
  886. 0000090A  486D B598                pea.l      [A5 - 0x4A68]
  887. 0000090E  2F16                     move.l     -[A7], [A6]
  888. 00000910  4EAD DE10                jsr        [A5 - 0x21F0]
  889. 00000914  4A80                     tst.l      D0
  890. 00000916  504F                     addq.w     A7, 8
  891. 00000918  660E                     bne        +0x10 /* 00000928 */
  892. 0000091A  7604                     moveq.l    D3, 0x04
  893. 0000091C  200A                     move.l     D0, A2
  894. 0000091E  6774                     beq        +0x76 /* 00000994 */
  895. 00000920  284A                     movea.l    A4, A2
  896. 00000922  49EC 0020                lea.l      A4, [A4 + 0x20]
  897. 00000926  606C                     bra        +0x6E /* 00000994 */
  898. label00000928:
  899. 00000928  486D B5BC                pea.l      [A5 - 0x4A44]
  900. 0000092C  2F16                     move.l     -[A7], [A6]
  901. 0000092E  4EAD DE10                jsr        [A5 - 0x21F0]
  902. 00000932  4A80                     tst.l      D0
  903. 00000934  504F                     addq.w     A7, 8
  904. 00000936  660E                     bne        +0x10 /* 00000946 */
  905. 00000938  7602                     moveq.l    D3, 0x02
  906. 0000093A  200A                     move.l     D0, A2
  907. 0000093C  6756                     beq        +0x58 /* 00000994 */
  908. 0000093E  284A                     movea.l    A4, A2
  909. 00000940  49EC 0018                lea.l      A4, [A4 + 0x18]
  910. 00000944  604E                     bra        +0x50 /* 00000994 */
  911. label00000946:
  912. 00000946  486D B5CA                pea.l      [A5 - 0x4A36]
  913. 0000094A  2F16                     move.l     -[A7], [A6]
  914. 0000094C  4EAD DE10                jsr        [A5 - 0x21F0]
  915. 00000950  4A80                     tst.l      D0
  916. 00000952  504F                     addq.w     A7, 8
  917. 00000954  660E                     bne        +0x10 /* 00000964 */
  918. 00000956  7603                     moveq.l    D3, 0x03
  919. 00000958  200A                     move.l     D0, A2
  920. 0000095A  6738                     beq        +0x3A /* 00000994 */
  921. 0000095C  284A                     movea.l    A4, A2
  922. 0000095E  49EC 001C                lea.l      A4, [A4 + 0x1C]
  923. 00000962  6030                     bra        +0x32 /* 00000994 */
  924. label00000964:
  925. 00000964  486D B5A2                pea.l      [A5 - 0x4A5E]
  926. 00000968  2F16                     move.l     -[A7], [A6]
  927. 0000096A  4EAD DE10                jsr        [A5 - 0x21F0]
  928. 0000096E  4A80                     tst.l      D0
  929. 00000970  504F                     addq.w     A7, 8
  930. 00000972  6606                     bne        +0x8 /* 0000097A */
  931. 00000974  7606                     moveq.l    D3, 0x06
  932. 00000976  99CC                     sub.l      A4, A4
  933. 00000978  601A                     bra        +0x1C /* 00000994 */
  934. label0000097A:
  935. 0000097A  486D B5AE                pea.l      [A5 - 0x4A52]
  936. 0000097E  2F16                     move.l     -[A7], [A6]
  937. 00000980  4EAD DE10                jsr        [A5 - 0x21F0]
  938. 00000984  4A80                     tst.l      D0
  939. 00000986  504F                     addq.w     A7, 8
  940. 00000988  6606                     bne        +0x8 /* 00000990 */
  941. 0000098A  7607                     moveq.l    D3, 0x07
  942. 0000098C  99CC                     sub.l      A4, A4
  943. 0000098E  6004                     bra        +0x6 /* 00000994 */
  944. label00000990:
  945. 00000990  7605                     moveq.l    D3, 0x05
  946. 00000992  99CC                     sub.l      A4, A4
  947. label00000994:
  948. 00000994  1F3C 000C                move.b     -[A7], 0xC
  949. 00000998  2F05                     move.l     -[A7], D5
  950. 0000099A  4EBA 4AEE                jsr        [PC + 0x4AEE /* 0000548A */]
  951. 0000099E  2808                     move.l     D4, A0
  952. 000009A0  2008                     move.l     D0, A0
  953. 000009A2  5C4F                     addq.w     A7, 6
  954. 000009A4  6768                     beq        +0x6A /* 00000A0E */
  955. 000009A6  2F0E                     move.l     -[A7], A6
  956. 000009A8  2F04                     move.l     -[A7], D4
  957. 000009AA  4EBA 20C8                jsr        [PC + 0x20C8 /* 00002A74 */]
  958. 000009AE  2008                     move.l     D0, A0
  959. 000009B0  56C0                     sne        D0
  960. 000009B2  4400                     neg.b      D0
  961. 000009B4  4880                     ext.w      D0
  962. 000009B6  48C0                     ext.l      D0
  963. 000009B8  2F40 0008                move.l     [A7 + 0x8], D0
  964. 000009BC  2F04                     move.l     -[A7], D4
  965. 000009BE  4EAD DD88                jsr        [A5 - 0x2278]
  966. 000009C2  4AAF 000C                tst.l      [A7 + 0xC]
  967. 000009C6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  968. 000009CA  6742                     beq        +0x44 /* 00000A0E */
  969. 000009CC  200B                     move.l     D0, A3
  970. 000009CE  671A                     beq        +0x1C /* 000009EA */
  971. 000009D0  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  972. 000009D4  4EAD DD88                jsr        [A5 - 0x2278]
  973. 000009D8  1F3C 0002                move.b     -[A7], 0x2
  974. 000009DC  2F2F 013A                move.l     -[A7], [A7 + 0x13A]
  975. 000009E0  2F05                     move.l     -[A7], D5
  976. 000009E2  4EBA 4C9C                jsr        [PC + 0x4C9C /* 00005680 */]
  977. 000009E6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  978. label000009EA:
  979. 000009EA  0C03 0005                cmpi.b     D3, 0x5
  980. 000009EE  6714                     beq        +0x16 /* 00000A04 */
  981. 000009F0  3F06                     move.w     -[A7], D6
  982. 000009F2  2F07                     move.l     -[A7], D7
  983. 000009F4  2F0E                     move.l     -[A7], A6
  984. 000009F6  2F2F 013E                move.l     -[A7], [A7 + 0x13E]
  985. 000009FA  2F05                     move.l     -[A7], D5
  986. 000009FC  4EBA FB8E                jsr        [PC - 0x472 /* 0000058C */]
  987. 00000A00  4FEF 0012                lea.l      A7, [A7 + 0x12]
  988. label00000A04:
  989. 00000A04  4FEF 0108                lea.l      A7, [A7 + 0x108]
  990. 00000A08  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  991. 00000A0C  4E75                     rts
  992. label00000A0E:
  993. 00000A0E  554F                     subq.w     A7, 2
  994. 00000A10  2F07                     move.l     -[A7], D7
  995. 00000A12  486F 010A                pea.l      [A7 + 0x10A]
  996. 00000A16  2F06                     move.l     -[A7], D6
  997. 00000A18  4EAD DA36                jsr        [A5 - 0x25CA]
  998. 00000A1C  301F                     move.w     D0, [A7]+
  999. 00000A1E  3800                     move.w     D4, D0
  1000. 00000A20  6630                     bne        +0x32 /* 00000A52 */
  1001. 00000A22  486F 0004                pea.l      [A7 + 0x4]
  1002. 00000A26  2F2F 013C                move.l     -[A7], [A7 + 0x13C]
  1003. 00000A2A  4EBA F6D4                jsr        [PC - 0x92C /* 00000100 */]
  1004. 00000A2E  3F2F 0150                move.w     -[A7], [A7 + 0x150]
  1005. 00000A32  2F0C                     move.l     -[A7], A4
  1006. 00000A34  1F03                     move.b     -[A7], D3
  1007. 00000A36  2F2F 0114                move.l     -[A7], [A7 + 0x114]
  1008. 00000A3A  2F0E                     move.l     -[A7], A6
  1009. 00000A3C  486F 001C                pea.l      [A7 + 0x1C]
  1010. 00000A40  42A7                     clr.l      -[A7]
  1011. 00000A42  2F0A                     move.l     -[A7], A2
  1012. 00000A44  2F0B                     move.l     -[A7], A3
  1013. 00000A46  2F05                     move.l     -[A7], D5
  1014. 00000A48  4EBA 18B8                jsr        [PC + 0x18B8 /* 00002302 */]
  1015. 00000A4C  3800                     move.w     D4, D0
  1016. 00000A4E  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  1017. label00000A52:
  1018. 00000A52  4A44                     tst.w      D4
  1019. 00000A54  671A                     beq        +0x1C /* 00000A70 */
  1020. 00000A56  4AAF 0104                tst.l      [A7 + 0x104]
  1021. 00000A5A  6706                     beq        +0x8 /* 00000A62 */
  1022. 00000A5C  206F 0104                movea.l    A0, [A7 + 0x104]
  1023. 00000A60  A023                     syscall    DisposHandle/DisposeHandle
  1024. label00000A62:
  1025. 00000A62  3F04                     move.w     -[A7], D4
  1026. 00000A64  3F3C 0002                move.w     -[A7], 0x2
  1027. 00000A68  4EAD DE98                jsr        [A5 - 0x2168]
  1028. 00000A6C  584F                     addq.w     A7, 4
  1029. 00000A6E  600E                     bra        +0x10 /* 00000A7E */
  1030. label00000A70:
  1031. 00000A70  200B                     move.l     D0, A3
  1032. 00000A72  670A                     beq        +0xC /* 00000A7E */
  1033. 00000A74  2F0A                     move.l     -[A7], A2
  1034. 00000A76  2F0B                     move.l     -[A7], A3
  1035. 00000A78  4EBA 1FA2                jsr        [PC + 0x1FA2 /* 00002A1C */]
  1036. 00000A7C  504F                     addq.w     A7, 8
  1037. label00000A7E:
  1038. 00000A7E  200B                     move.l     D0, A3
  1039. 00000A80  671A                     beq        +0x1C /* 00000A9C */
  1040. 00000A82  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  1041. 00000A86  4EAD DD88                jsr        [A5 - 0x2278]
  1042. 00000A8A  1F3C 0002                move.b     -[A7], 0x2
  1043. 00000A8E  2F2F 013A                move.l     -[A7], [A7 + 0x13A]
  1044. 00000A92  2F05                     move.l     -[A7], D5
  1045. 00000A94  4EBA 4BEA                jsr        [PC + 0x4BEA /* 00005680 */]
  1046. 00000A98  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1047. label00000A9C:
  1048. 00000A9C  4FEF 0108                lea.l      A7, [A7 + 0x108]
  1049. 00000AA0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1050. 00000AA4  4E75                     rts
  1051. 00000AA6  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  1052. 00000AAA  594F                     subq.w     A7, 4
  1053. 00000AAC  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  1054. 00000AB0  262F 0020                move.l     D3, [A7 + 0x20]
  1055. 00000AB4  1F3C 000C                move.b     -[A7], 0xC
  1056. 00000AB8  2F0E                     move.l     -[A7], A6
  1057. 00000ABA  4EBA 49CE                jsr        [PC + 0x49CE /* 0000548A */]
  1058. 00000ABE  2648                     movea.l    A3, A0
  1059. 00000AC0  200B                     move.l     D0, A3
  1060. 00000AC2  5C4F                     addq.w     A7, 6
  1061. 00000AC4  6700 008A                beq        +0x8C /* 00000B50 */
  1062. 00000AC8  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  1063. 00000ACC  2F0B                     move.l     -[A7], A3
  1064. 00000ACE  4EBA 1FA4                jsr        [PC + 0x1FA4 /* 00002A74 */]
  1065. 00000AD2  2448                     movea.l    A2, A0
  1066. 00000AD4  200A                     move.l     D0, A2
  1067. 00000AD6  504F                     addq.w     A7, 8
  1068. 00000AD8  676E                     beq        +0x70 /* 00000B48 */
  1069. 00000ADA  4227                     clr.b      -[A7]
  1070. 00000ADC  2F03                     move.l     -[A7], D3
  1071. 00000ADE  2F0E                     move.l     -[A7], A6
  1072. 00000AE0  4EBA 4B9E                jsr        [PC + 0x4B9E /* 00005680 */]
  1073. 00000AE4  2848                     movea.l    A4, A0
  1074. 00000AE6  2008                     move.l     D0, A0
  1075. 00000AE8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1076. 00000AEC  674A                     beq        +0x4C /* 00000B38 */
  1077. 00000AEE  4AAC 0050                tst.l      [A4 + 0x50]
  1078. 00000AF2  6744                     beq        +0x46 /* 00000B38 */
  1079. 00000AF4  206C 0050                movea.l    A0, [A4 + 0x50]
  1080. 00000AF8  2050                     movea.l    A0, [A0]
  1081. 00000AFA  4AA8 0030                tst.l      [A0 + 0x30]
  1082. 00000AFE  6738                     beq        +0x3A /* 00000B38 */
  1083. 00000B00  082A 0007 010C           btst.b     [A2 + 0x10C], 0x7
  1084. 00000B06  6730                     beq        +0x32 /* 00000B38 */
  1085. 00000B08  4AAA 0100                tst.l      [A2 + 0x100]
  1086. 00000B0C  672A                     beq        +0x2C /* 00000B38 */
  1087. 00000B0E  206A 0100                movea.l    A0, [A2 + 0x100]
  1088. 00000B12  2050                     movea.l    A0, [A0]
  1089. 00000B14  4A28 0011                tst.b      [A0 + 0x11]
  1090. 00000B18  661E                     bne        +0x20 /* 00000B38 */
  1091. 00000B1A  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  1092. 00000B1E  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  1093. 00000B22  A95D                     syscall    HiliteControl
  1094. 00000B24  207C 0000 000F           movea.l    A0, 0xF
  1095. 00000B2A  43D7                     lea.l      A1, [A7]
  1096. 00000B2C  A03B                     syscall    Delay
  1097. 00000B2E  2280                     move.l     [A1], D0
  1098. 00000B30  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  1099. 00000B34  4267                     clr.w      -[A7]
  1100. 00000B36  A95D                     syscall    HiliteControl
  1101. label00000B38:
  1102. 00000B38  1F3C 0002                move.b     -[A7], 0x2
  1103. 00000B3C  2F03                     move.l     -[A7], D3
  1104. 00000B3E  2F0E                     move.l     -[A7], A6
  1105. 00000B40  4EBA 4B3E                jsr        [PC + 0x4B3E /* 00005680 */]
  1106. 00000B44  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1107. label00000B48:
  1108. 00000B48  2F0B                     move.l     -[A7], A3
  1109. 00000B4A  4EAD DD88                jsr        [A5 - 0x2278]
  1110. 00000B4E  584F                     addq.w     A7, 4
  1111. label00000B50:
  1112. 00000B50  584F                     addq.w     A7, 4
  1113. 00000B52  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  1114. 00000B56  4E75                     rts
  1115. 00000B58  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  1116. 00000B5C  286F 0018                movea.l    A4, [A7 + 0x18]
  1117. 00000B60  282F 001C                move.l     D4, [A7 + 0x1C]
  1118. 00000B64  262F 0020                move.l     D3, [A7 + 0x20]
  1119. 00000B68  4A84                     tst.l      D4
  1120. 00000B6A  6D00 0080                blt        +0x82 /* 00000BEC */
  1121. 00000B6E  4227                     clr.b      -[A7]
  1122. 00000B70  2F04                     move.l     -[A7], D4
  1123. 00000B72  2F0C                     move.l     -[A7], A4
  1124. 00000B74  4EBA 4B0A                jsr        [PC + 0x4B0A /* 00005680 */]
  1125. 00000B78  2448                     movea.l    A2, A0
  1126. 00000B7A  2008                     move.l     D0, A0
  1127. 00000B7C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1128. 00000B80  676A                     beq        +0x6C /* 00000BEC */
  1129. 00000B82  4AAA 0050                tst.l      [A2 + 0x50]
  1130. 00000B86  6754                     beq        +0x56 /* 00000BDC */
  1131. 00000B88  206A 0050                movea.l    A0, [A2 + 0x50]
  1132. 00000B8C  2050                     movea.l    A0, [A0]
  1133. 00000B8E  B6A8 0034                cmp.l      D3, [A0 + 0x34]
  1134. 00000B92  6748                     beq        +0x4A /* 00000BDC */
  1135. 00000B94  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1136. 00000B98  4EAD DD80                jsr        [A5 - 0x2280]
  1137. 00000B9C  2648                     movea.l    A3, A0
  1138. 00000B9E  2743 0034                move.l     [A3 + 0x34], D3
  1139. 00000BA2  4AAB 0004                tst.l      [A3 + 0x4]
  1140. 00000BA6  584F                     addq.w     A7, 4
  1141. 00000BA8  6728                     beq        +0x2A /* 00000BD2 */
  1142. 00000BAA  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  1143. 00000BAE  4EAD DD40                jsr        [A5 - 0x22C0]
  1144. 00000BB2  4A83                     tst.l      D3
  1145. 00000BB4  584F                     addq.w     A7, 4
  1146. 00000BB6  660C                     bne        +0xE /* 00000BC4 */
  1147. 00000BB8  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  1148. 00000BBC  A927                     syscall    InvalRgn
  1149. 00000BBE  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  1150. 00000BC2  A8DD                     syscall    SetEmptyRgn
  1151. label00000BC4:
  1152. 00000BC4  2F0B                     move.l     -[A7], A3
  1153. 00000BC6  2F0A                     move.l     -[A7], A2
  1154. 00000BC8  4EBA 1E52                jsr        [PC + 0x1E52 /* 00002A1C */]
  1155. 00000BCC  4EAD DD48                jsr        [A5 - 0x22B8]
  1156. 00000BD0  504F                     addq.w     A7, 8
  1157. label00000BD2:
  1158. 00000BD2  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1159. 00000BD6  4EAD DD88                jsr        [A5 - 0x2278]
  1160. 00000BDA  584F                     addq.w     A7, 4
  1161. label00000BDC:
  1162. 00000BDC  1F3C 0002                move.b     -[A7], 0x2
  1163. 00000BE0  42A7                     clr.l      -[A7]
  1164. 00000BE2  2F0C                     move.l     -[A7], A4
  1165. 00000BE4  4EBA 4A9A                jsr        [PC + 0x4A9A /* 00005680 */]
  1166. 00000BE8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1167. label00000BEC:
  1168. 00000BEC  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  1169. 00000BF0  4E75                     rts
  1170. 00000BF2  48E7 1020                movem.l    -[A7], D3,A2
  1171. 00000BF6  5D4F                     subq.w     A7, 6
  1172. 00000BF8  246F 0012                movea.l    A2, [A7 + 0x12]
  1173. 00000BFC  302D 135E                move.w     D0, [A5 + 0x135E]
  1174. 00000C00  48C0                     ext.l      D0
  1175. 00000C02  0680 0000 0080           addi.l     D0, 0x80
  1176. 00000C08  2F00                     move.l     -[A7], D0
  1177. 00000C0A  1F3C 0002                move.b     -[A7], 0x2
  1178. 00000C0E  42A7                     clr.l      -[A7]
  1179. 00000C10  2F0A                     move.l     -[A7], A2
  1180. 00000C12  4EAD E970                jsr        [A5 - 0x1690]
  1181. 00000C16  42A7                     clr.l      -[A7]
  1182. 00000C18  42A7                     clr.l      -[A7]
  1183. 00000C1A  42A7                     clr.l      -[A7]
  1184. 00000C1C  1F3C 0003                move.b     -[A7], 0x3
  1185. 00000C20  4EAD DB08                jsr        [A5 - 0x24F8]
  1186. 00000C24  3F00                     move.w     -[A7], D0
  1187. 00000C26  4EAD E250                jsr        [A5 - 0x1DB0]
  1188. 00000C2A  4A80                     tst.l      D0
  1189. 00000C2C  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  1190. 00000C30  671E                     beq        +0x20 /* 00000C50 */
  1191. 00000C32  302D 135E                move.w     D0, [A5 + 0x135E]
  1192. 00000C36  48C0                     ext.l      D0
  1193. 00000C38  0680 0000 0081           addi.l     D0, 0x81
  1194. 00000C3E  2F00                     move.l     -[A7], D0
  1195. 00000C40  1F3C 0002                move.b     -[A7], 0x2
  1196. 00000C44  42A7                     clr.l      -[A7]
  1197. 00000C46  2F0A                     move.l     -[A7], A2
  1198. 00000C48  4EAD E970                jsr        [A5 - 0x1690]
  1199. 00000C4C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1200. label00000C50:
  1201. 00000C50  302D 135E                move.w     D0, [A5 + 0x135E]
  1202. 00000C54  48C0                     ext.l      D0
  1203. 00000C56  0680 0000 0082           addi.l     D0, 0x82
  1204. 00000C5C  2F00                     move.l     -[A7], D0
  1205. 00000C5E  1F3C 0002                move.b     -[A7], 0x2
  1206. 00000C62  42A7                     clr.l      -[A7]
  1207. 00000C64  2F0A                     move.l     -[A7], A2
  1208. 00000C66  4EAD E970                jsr        [A5 - 0x1690]
  1209. 00000C6A  302D 135E                move.w     D0, [A5 + 0x135E]
  1210. 00000C6E  48C0                     ext.l      D0
  1211. 00000C70  0680 0000 0083           addi.l     D0, 0x83
  1212. 00000C76  2F00                     move.l     -[A7], D0
  1213. 00000C78  1F3C 0002                move.b     -[A7], 0x2
  1214. 00000C7C  42A7                     clr.l      -[A7]
  1215. 00000C7E  2F0A                     move.l     -[A7], A2
  1216. 00000C80  4EAD E970                jsr        [A5 - 0x1690]
  1217. 00000C84  7600                     moveq.l    D3, 0x00
  1218. 00000C86  42A7                     clr.l      -[A7]
  1219. 00000C88  486F 0022                pea.l      [A7 + 0x22]
  1220. 00000C8C  486F 0024                pea.l      [A7 + 0x24]
  1221. 00000C90  4EAD DB50                jsr        [A5 - 0x24B0]
  1222. 00000C94  3600                     move.w     D3, D0
  1223. 00000C96  4A43                     tst.w      D3
  1224. 00000C98  4FEF 0028                lea.l      A7, [A7 + 0x28]
  1225. 00000C9C  6624                     bne        +0x26 /* 00000CC2 */
  1226. 00000C9E  4AAF 0002                tst.l      [A7 + 0x2]
  1227. 00000CA2  671E                     beq        +0x20 /* 00000CC2 */
  1228. 00000CA4  302D 135E                move.w     D0, [A5 + 0x135E]
  1229. 00000CA8  48C0                     ext.l      D0
  1230. 00000CAA  0680 0000 0084           addi.l     D0, 0x84
  1231. 00000CB0  2F00                     move.l     -[A7], D0
  1232. 00000CB2  1F3C 0002                move.b     -[A7], 0x2
  1233. 00000CB6  42A7                     clr.l      -[A7]
  1234. 00000CB8  2F0A                     move.l     -[A7], A2
  1235. 00000CBA  4EAD E970                jsr        [A5 - 0x1690]
  1236. 00000CBE  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1237. label00000CC2:
  1238. 00000CC2  4AAF 0016                tst.l      [A7 + 0x16]
  1239. 00000CC6  671E                     beq        +0x20 /* 00000CE6 */
  1240. 00000CC8  302D 135E                move.w     D0, [A5 + 0x135E]
  1241. 00000CCC  48C0                     ext.l      D0
  1242. 00000CCE  0680 0000 0085           addi.l     D0, 0x85
  1243. 00000CD4  2F00                     move.l     -[A7], D0
  1244. 00000CD6  1F3C 0002                move.b     -[A7], 0x2
  1245. 00000CDA  42A7                     clr.l      -[A7]
  1246. 00000CDC  2F0A                     move.l     -[A7], A2
  1247. 00000CDE  4EAD E970                jsr        [A5 - 0x1690]
  1248. 00000CE2  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1249. label00000CE6:
  1250. 00000CE6  2F0A                     move.l     -[A7], A2
  1251. 00000CE8  4EAD EA48                jsr        [A5 - 0x15B8]
  1252. 00000CEC  584F                     addq.w     A7, 4
  1253. 00000CEE  2F00                     move.l     -[A7], D0
  1254. 00000CF0  2F0A                     move.l     -[A7], A2
  1255. 00000CF2  4EBA F56E                jsr        [PC - 0xA92 /* 00000262 */]
  1256. 00000CF6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1257. 00000CFA  4CDF 0408                movem.l    D3,A2, [A7]+
  1258. 00000CFE  4E75                     rts
  1259. 00000D00  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  1260. 00000D04  514F                     subq.w     A7, 8
  1261. 00000D06  286F 001C                movea.l    A4, [A7 + 0x1C]
  1262. 00000D0A  262F 0020                move.l     D3, [A7 + 0x20]
  1263. 00000D0E  4A83                     tst.l      D3
  1264. 00000D10  6D70                     blt        +0x72 /* 00000D82 */
  1265. 00000D12  4227                     clr.b      -[A7]
  1266. 00000D14  2F03                     move.l     -[A7], D3
  1267. 00000D16  2F0C                     move.l     -[A7], A4
  1268. 00000D18  4EBA 4966                jsr        [PC + 0x4966 /* 00005680 */]
  1269. 00000D1C  2448                     movea.l    A2, A0
  1270. 00000D1E  2008                     move.l     D0, A0
  1271. 00000D20  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1272. 00000D24  675C                     beq        +0x5E /* 00000D82 */
  1273. 00000D26  4AAA 0050                tst.l      [A2 + 0x50]
  1274. 00000D2A  6746                     beq        +0x48 /* 00000D72 */
  1275. 00000D2C  2F0C                     move.l     -[A7], A4
  1276. 00000D2E  4EAD DD40                jsr        [A5 - 0x22C0]
  1277. 00000D32  4227                     clr.b      -[A7]
  1278. 00000D34  486F 0006                pea.l      [A7 + 0x6]
  1279. 00000D38  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  1280. 00000D3C  4EAD EA38                jsr        [A5 - 0x15C8]
  1281. 00000D40  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1282. 00000D44  4EAD DD80                jsr        [A5 - 0x2280]
  1283. 00000D48  2648                     movea.l    A3, A0
  1284. 00000D4A  2F0B                     move.l     -[A7], A3
  1285. 00000D4C  2F0A                     move.l     -[A7], A2
  1286. 00000D4E  4EBA 1398                jsr        [PC + 0x1398 /* 000020E8 */]
  1287. 00000D52  2F2F 003E                move.l     -[A7], [A7 + 0x3E]
  1288. 00000D56  486F 001E                pea.l      [A7 + 0x1E]
  1289. 00000D5A  2F0B                     move.l     -[A7], A3
  1290. 00000D5C  2F0A                     move.l     -[A7], A2
  1291. 00000D5E  4EBA 150E                jsr        [PC + 0x150E /* 0000226E */]
  1292. 00000D62  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1293. 00000D66  4EAD DD88                jsr        [A5 - 0x2278]
  1294. 00000D6A  4EAD DD48                jsr        [A5 - 0x22B8]
  1295. 00000D6E  4FEF 002E                lea.l      A7, [A7 + 0x2E]
  1296. label00000D72:
  1297. 00000D72  1F3C 0002                move.b     -[A7], 0x2
  1298. 00000D76  42A7                     clr.l      -[A7]
  1299. 00000D78  2F0C                     move.l     -[A7], A4
  1300. 00000D7A  4EBA 4904                jsr        [PC + 0x4904 /* 00005680 */]
  1301. 00000D7E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1302. label00000D82:
  1303. 00000D82  504F                     addq.w     A7, 8
  1304. 00000D84  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  1305. 00000D88  4E75                     rts
  1306. fn00000D8A:
  1307. 00000D8A  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  1308. 00000D8E  594F                     subq.w     A7, 4
  1309. 00000D90  2E2F 002C                move.l     D7, [A7 + 0x2C]
  1310. 00000D94  2C2F 0030                move.l     D6, [A7 + 0x30]
  1311. 00000D98  286F 0034                movea.l    A4, [A7 + 0x34]
  1312. 00000D9C  266F 0038                movea.l    A3, [A7 + 0x38]
  1313. 00000DA0  9DCE                     sub.l      A6, A6
  1314. 00000DA2  7A00                     moveq.l    D5, 0x00
  1315. 00000DA4  200B                     move.l     D0, A3
  1316. 00000DA6  6702                     beq        +0x4 /* 00000DAA */
  1317. 00000DA8  4293                     clr.l      [A3]
  1318. label00000DAA:
  1319. 00000DAA  4AAD B2D8                tst.l      [A5 - 0x4D28]
  1320. 00000DAE  6706                     beq        +0x8 /* 00000DB6 */
  1321. 00000DB0  4EAD FF50                jsr        [A5 - 0xB0]
  1322. 00000DB4  2C48                     movea.l    A6, A0
  1323. label00000DB6:
  1324. 00000DB6  4AAD B2D8                tst.l      [A5 - 0x4D28]
  1325. 00000DBA  6716                     beq        +0x18 /* 00000DD2 */
  1326. 00000DBC  2F05                     move.l     -[A7], D5
  1327. 00000DBE  4EAD FEF0                jsr        [A5 - 0x110]
  1328. 00000DC2  3600                     move.w     D3, D0
  1329. 00000DC4  3003                     move.w     D0, D3
  1330. 00000DC6  48C0                     ext.l      D0
  1331. 00000DC8  4A80                     tst.l      D0
  1332. 00000DCA  584F                     addq.w     A7, 4
  1333. 00000DCC  6D66                     blt        +0x68 /* 00000E34 */
  1334. 00000DCE  3883                     move.w     [A4], D3
  1335. 00000DD0  6002                     bra        +0x4 /* 00000DD4 */
  1336. label00000DD2:
  1337. 00000DD2  3614                     move.w     D3, [A4]
  1338. label00000DD4:
  1339. 00000DD4  2F0B                     move.l     -[A7], A3
  1340. 00000DD6  2F06                     move.l     -[A7], D6
  1341. 00000DD8  2F07                     move.l     -[A7], D7
  1342. 00000DDA  3F03                     move.w     -[A7], D3
  1343. 00000DDC  4EAD E470                jsr        [A5 - 0x1B90]
  1344. 00000DE0  2800                     move.l     D4, D0
  1345. 00000DE2  4AAD B2D8                tst.l      [A5 - 0x4D28]
  1346. 00000DE6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1347. 00000DEA  6728                     beq        +0x2A /* 00000E14 */
  1348. 00000DEC  2005                     move.l     D0, D5
  1349. 00000DEE  720A                     moveq.l    D1, 0x0A
  1350. 00000DF0  4EAD D8F8                jsr        [A5 - 0x2708]
  1351. 00000DF4  2056                     movea.l    A0, [A6]
  1352. 00000DF6  D1C0                     add.l      A0, D0
  1353. 00000DF8  2448                     movea.l    A2, A0
  1354. 00000DFA  2484                     move.l     [A2], D4
  1355. 00000DFC  200B                     move.l     D0, A3
  1356. 00000DFE  6606                     bne        +0x8 /* 00000E06 */
  1357. 00000E00  2E80                     move.l     [A7], D0
  1358. 00000E02  7000                     moveq.l    D0, 0x00
  1359. 00000E04  6002                     bra        +0x4 /* 00000E08 */
  1360. label00000E06:
  1361. 00000E06  2013                     move.l     D0, [A3]
  1362. label00000E08:
  1363. 00000E08  2540 0004                move.l     [A2 + 0x4], D0
  1364. 00000E0C  3543 0008                move.w     [A2 + 0x8], D3
  1365. 00000E10  5285                     addq.l     D5, 1
  1366. 00000E12  60A2                     bra        -0x5C /* 00000DB6 */
  1367. label00000E14:
  1368. 00000E14  4A84                     tst.l      D4
  1369. 00000E16  6D12                     blt        +0x14 /* 00000E2A */
  1370. 00000E18  2F04                     move.l     -[A7], D4
  1371. 00000E1A  3F03                     move.w     -[A7], D3
  1372. 00000E1C  4EAD E188                jsr        [A5 - 0x1E78]
  1373. 00000E20  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1374. 00000E24  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1375. 00000E28  4E75                     rts
  1376. label00000E2A:
  1377. 00000E2A  91C8                     sub.l      A0, A0
  1378. 00000E2C  584F                     addq.w     A7, 4
  1379. 00000E2E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1380. 00000E32  4E75                     rts
  1381. label00000E34:
  1382. 00000E34  200E                     move.l     D0, A6
  1383. 00000E36  6712                     beq        +0x14 /* 00000E4A */
  1384. 00000E38  2F0B                     move.l     -[A7], A3
  1385. 00000E3A  2F0C                     move.l     -[A7], A4
  1386. 00000E3C  4EAD FF58                jsr        [A5 - 0xA8]
  1387. 00000E40  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1388. 00000E44  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1389. 00000E48  4E75                     rts
  1390. label00000E4A:
  1391. 00000E4A  91C8                     sub.l      A0, A0
  1392. 00000E4C  584F                     addq.w     A7, 4
  1393. 00000E4E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  1394. 00000E52  4E75                     rts
  1395. 00000E54  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  1396. 00000E58  2C6F 0020                movea.l    A6, [A7 + 0x20]
  1397. 00000E5C  282F 0024                move.l     D4, [A7 + 0x24]
  1398. 00000E60  262F 0028                move.l     D3, [A7 + 0x28]
  1399. 00000E64  4A84                     tst.l      D4
  1400. 00000E66  6D00 012C                blt        +0x12E /* 00000F94 */
  1401. 00000E6A  4227                     clr.b      -[A7]
  1402. 00000E6C  2F04                     move.l     -[A7], D4
  1403. 00000E6E  2F0E                     move.l     -[A7], A6
  1404. 00000E70  4EBA 480E                jsr        [PC + 0x480E /* 00005680 */]
  1405. 00000E74  2648                     movea.l    A3, A0
  1406. 00000E76  2008                     move.l     D0, A0
  1407. 00000E78  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1408. 00000E7C  6700 0116                beq        +0x118 /* 00000F94 */
  1409. 00000E80  4AAB 0050                tst.l      [A3 + 0x50]
  1410. 00000E84  6700 00FE                beq        +0x100 /* 00000F84 */
  1411. 00000E88  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  1412. 00000E8C  4EAD DD80                jsr        [A5 - 0x2280]
  1413. 00000E90  2848                     movea.l    A4, A0
  1414. 00000E92  2F0E                     move.l     -[A7], A6
  1415. 00000E94  4EAD DD40                jsr        [A5 - 0x22C0]
  1416. 00000E98  486E 0010                pea.l      [A6 + 0x10]
  1417. 00000E9C  A928                     syscall    InvalRect
  1418. 00000E9E  4A83                     tst.l      D3
  1419. 00000EA0  504F                     addq.w     A7, 8
  1420. 00000EA2  6708                     beq        +0xA /* 00000EAC */
  1421. 00000EA4  4EAD DFB0                jsr        [A5 - 0x2050]
  1422. 00000EA8  BDC8                     cmpa.l     A6, A0
  1423. 00000EAA  660A                     bne        +0xC /* 00000EB6 */
  1424. label00000EAC:
  1425. 00000EAC  2F03                     move.l     -[A7], D3
  1426. 00000EAE  2F0B                     move.l     -[A7], A3
  1427. 00000EB0  4EBA 1E78                jsr        [PC + 0x1E78 /* 00002D2A */]
  1428. 00000EB4  504F                     addq.w     A7, 8
  1429. label00000EB6:
  1430. 00000EB6  2943 0030                move.l     [A4 + 0x30], D3
  1431. 00000EBA  4A83                     tst.l      D3
  1432. 00000EBC  670C                     beq        +0xE /* 00000ECA */
  1433. 00000EBE  2F0C                     move.l     -[A7], A4
  1434. 00000EC0  2F0B                     move.l     -[A7], A3
  1435. 00000EC2  4EBA 1B58                jsr        [PC + 0x1B58 /* 00002A1C */]
  1436. 00000EC6  504F                     addq.w     A7, 8
  1437. 00000EC8  6024                     bra        +0x26 /* 00000EEE */
  1438. label00000ECA:
  1439. 00000ECA  382B 0044                move.w     D4, [A3 + 0x44]
  1440. 00000ECE  48C4                     ext.l      D4
  1441. 00000ED0  4484                     neg.l      D4
  1442. 00000ED2  376B 0040 0044           move.w     [A3 + 0x44], [A3 + 0x40]
  1443. 00000ED8  4AAC 0004                tst.l      [A4 + 0x4]
  1444. 00000EDC  6706                     beq        +0x8 /* 00000EE4 */
  1445. 00000EDE  2F2C 0004                move.l     -[A7], [A4 + 0x4]
  1446. 00000EE2  A8DD                     syscall    SetEmptyRgn
  1447. label00000EE4:
  1448. 00000EE4  3F04                     move.w     -[A7], D4
  1449. 00000EE6  2F0B                     move.l     -[A7], A3
  1450. 00000EE8  4EBA 1AAE                jsr        [PC + 0x1AAE /* 00002998 */]
  1451. 00000EEC  5C4F                     addq.w     A7, 6
  1452. label00000EEE:
  1453. 00000EEE  1F3C 000C                move.b     -[A7], 0xC
  1454. 00000EF2  2F0E                     move.l     -[A7], A6
  1455. 00000EF4  4EBA 4594                jsr        [PC + 0x4594 /* 0000548A */]
  1456. 00000EF8  2A08                     move.l     D5, A0
  1457. 00000EFA  2008                     move.l     D0, A0
  1458. 00000EFC  5C4F                     addq.w     A7, 6
  1459. 00000EFE  6760                     beq        +0x62 /* 00000F60 */
  1460. 00000F00  594F                     subq.w     A7, 4
  1461. 00000F02  2F05                     move.l     -[A7], D5
  1462. 00000F04  4EAD D9AC                jsr        [A5 - 0x2654]
  1463. 00000F08  201F                     move.l     D0, [A7]+
  1464. 00000F0A  223C 0000 0112           move.l     D1, 0x112
  1465. 00000F10  4EAD D8FE                jsr        [A5 - 0x2702]
  1466. 00000F14  2800                     move.l     D4, D0
  1467. 00000F16  2045                     movea.l    A0, D5
  1468. 00000F18  A029                     syscall    HLock
  1469. 00000F1A  2045                     movea.l    A0, D5
  1470. 00000F1C  2450                     movea.l    A2, [A0]
  1471. 00000F1E  6034                     bra        +0x36 /* 00000F54 */
  1472. label00000F20:
  1473. 00000F20  4AAA 0100                tst.l      [A2 + 0x100]
  1474. 00000F24  672A                     beq        +0x2C /* 00000F50 */
  1475. 00000F26  2F03                     move.l     -[A7], D3
  1476. 00000F28  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  1477. 00000F2C  4EAD E920                jsr        [A5 - 0x16E0]
  1478. 00000F30  082A 0007 010C           btst.b     [A2 + 0x10C], 0x7
  1479. 00000F36  6608                     bne        +0xA /* 00000F40 */
  1480. 00000F38  203C 0000 00FF           move.l     D0, 0xFF
  1481. 00000F3E  6002                     bra        +0x4 /* 00000F42 */
  1482. label00000F40:
  1483. 00000F40  7000                     moveq.l    D0, 0x00
  1484. label00000F42:
  1485. 00000F42  3F00                     move.w     -[A7], D0
  1486. 00000F44  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  1487. 00000F48  4EAD E918                jsr        [A5 - 0x16E8]
  1488. 00000F4C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1489. label00000F50:
  1490. 00000F50  45EA 0112                lea.l      A2, [A2 + 0x112]
  1491. label00000F54:
  1492. 00000F54  2004                     move.l     D0, D4
  1493. 00000F56  5384                     subq.l     D4, 1
  1494. 00000F58  4A80                     tst.l      D0
  1495. 00000F5A  66C4                     bne        -0x3A /* 00000F20 */
  1496. 00000F5C  2045                     movea.l    A0, D5
  1497. 00000F5E  A02A                     syscall    HUnlock
  1498. label00000F60:
  1499. 00000F60  4A83                     tst.l      D3
  1500. 00000F62  6712                     beq        +0x14 /* 00000F76 */
  1501. 00000F64  486D E918                pea.l      [A5 - 0x16E8]
  1502. 00000F68  42A7                     clr.l      -[A7]
  1503. 00000F6A  2F0C                     move.l     -[A7], A4
  1504. 00000F6C  2F0B                     move.l     -[A7], A3
  1505. 00000F6E  4EBA 0E52                jsr        [PC + 0xE52 /* 00001DC2 */]
  1506. 00000F72  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1507. label00000F76:
  1508. 00000F76  4EAD DD48                jsr        [A5 - 0x22B8]
  1509. 00000F7A  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  1510. 00000F7E  4EAD DD88                jsr        [A5 - 0x2278]
  1511. 00000F82  584F                     addq.w     A7, 4
  1512. label00000F84:
  1513. 00000F84  1F3C 0002                move.b     -[A7], 0x2
  1514. 00000F88  42A7                     clr.l      -[A7]
  1515. 00000F8A  2F0E                     move.l     -[A7], A6
  1516. 00000F8C  4EBA 46F2                jsr        [PC + 0x46F2 /* 00005680 */]
  1517. 00000F90  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1518. label00000F94:
  1519. 00000F94  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  1520. 00000F98  4E75                     rts
  1521. 00000F9A  48E7 1820                movem.l    -[A7], D3,D4,A2
  1522. 00000F9E  4FEF FFC6                lea.l      A7, [A7 - 0x3A]
  1523. 00000FA2  246F 004A                movea.l    A2, [A7 + 0x4A]
  1524. 00000FA6  382F 004E                move.w     D4, [A7 + 0x4E]
  1525. 00000FAA  41ED 8BF2                lea.l      A0, [A5 - 0x740E]
  1526. 00000FAE  43D7                     lea.l      A1, [A7]
  1527. 00000FB0  700D                     moveq.l    D0, 0x0D
  1528. label00000FB2:
  1529. 00000FB2  22D8                     move.l     [A1]+, [A0]+
  1530. 00000FB4  51C8 FFFC                dbf        D0, -0x6 /* 00000FB2 */
  1531. 00000FB8  32D8                     move.w     [A1]+, [A0]+
  1532. 00000FBA  7600                     moveq.l    D3, 0x00
  1533. 00000FBC  4AAD 8C2C                tst.l      [A5 - 0x73D4]
  1534. 00000FC0  6618                     bne        +0x1A /* 00000FDA */
  1535. 00000FC2  554F                     subq.w     A7, 2
  1536. 00000FC4  2F3C 4C4F 4F4B           move.l     -[A7], 0x4C4F4F4B /* 'LOOK' */
  1537. 00000FCA  A80D                     syscall    Count1Resources
  1538. 00000FCC  301F                     move.w     D0, [A7]+
  1539. 00000FCE  56C0                     sne        D0
  1540. 00000FD0  4400                     neg.b      D0
  1541. 00000FD2  4880                     ext.w      D0
  1542. 00000FD4  48C0                     ext.l      D0
  1543. 00000FD6  2B40 8C2C                move.l     [A5 - 0x73D4], D0
  1544. label00000FDA:
  1545. 00000FDA  257C 4350 4E4C 004C      move.l     [A2 + 0x4C], 0x43504E4C /* 'CPNL' */
  1546. 00000FE2  3F44 0038                move.w     [A7 + 0x38], D4
  1547. 00000FE6  594F                     subq.w     A7, 4
  1548. 00000FE8  A8D8                     syscall    NewRgn
  1549. 00000FEA  205F                     movea.l    A0, [A7]+
  1550. 00000FEC  2F48 0004                move.l     [A7 + 0x4], A0
  1551. 00000FF0  7001                     moveq.l    D0, 0x01
  1552. 00000FF2  2F40 0030                move.l     [A7 + 0x30], D0
  1553. 00000FF6  7001                     moveq.l    D0, 0x01
  1554. 00000FF8  2F40 0034                move.l     [A7 + 0x34], D0
  1555. 00000FFC  4857                     pea.l      [A7]
  1556. 00000FFE  2F0A                     move.l     -[A7], A2
  1557. 00001000  4EBA 082E                jsr        [PC + 0x82E /* 00001830 */]
  1558. 00001004  3600                     move.w     D3, D0
  1559. 00001006  504F                     addq.w     A7, 8
  1560. 00001008  6616                     bne        +0x18 /* 00001020 */
  1561. 0000100A  554F                     subq.w     A7, 2
  1562. 0000100C  486F 0002                pea.l      [A7 + 0x2]
  1563. 00001010  486A 0050                pea.l      [A2 + 0x50]
  1564. 00001014  4878 003A                push.l     0x3A /* ':' */
  1565. 00001018  4EAD DA36                jsr        [A5 - 0x25CA]
  1566. 0000101C  301F                     move.w     D0, [A7]+
  1567. 0000101E  3600                     move.w     D3, D0
  1568. label00001020:
  1569. 00001020  4A43                     tst.w      D3
  1570. 00001022  670A                     beq        +0xC /* 0000102E */
  1571. 00001024  4857                     pea.l      [A7]
  1572. 00001026  2F0A                     move.l     -[A7], A2
  1573. 00001028  4EBA 0FA8                jsr        [PC + 0xFA8 /* 00001FD2 */]
  1574. 0000102C  504F                     addq.w     A7, 8
  1575. label0000102E:
  1576. 0000102E  3003                     move.w     D0, D3
  1577. 00001030  4FEF 003A                lea.l      A7, [A7 + 0x3A]
  1578. 00001034  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  1579. 00001038  4E75                     rts
  1580. 0000103A  2F0A                     move.l     -[A7], A2
  1581. 0000103C  246F 0008                movea.l    A2, [A7 + 0x8]
  1582. 00001040  4AAA 0050                tst.l      [A2 + 0x50]
  1583. 00001044  6724                     beq        +0x26 /* 0000106A */
  1584. 00001046  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1585. 0000104A  4EAD DD80                jsr        [A5 - 0x2280]
  1586. 0000104E  584F                     addq.w     A7, 4
  1587. 00001050  2F08                     move.l     -[A7], A0
  1588. 00001052  2F0A                     move.l     -[A7], A2
  1589. 00001054  4EBA 0F7C                jsr        [PC + 0xF7C /* 00001FD2 */]
  1590. 00001058  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1591. 0000105C  4EAD DD88                jsr        [A5 - 0x2278]
  1592. 00001060  206A 0050                movea.l    A0, [A2 + 0x50]
  1593. 00001064  A023                     syscall    DisposHandle/DisposeHandle
  1594. 00001066  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1595. label0000106A:
  1596. 0000106A  245F                     movea.l    A2, [A7]+
  1597. 0000106C  4E75                     rts
  1598. 0000106E  2F0A                     move.l     -[A7], A2
  1599. 00001070  594F                     subq.w     A7, 4
  1600. 00001072  246F 000C                movea.l    A2, [A7 + 0xC]
  1601. 00001076  4AAA 0050                tst.l      [A2 + 0x50]
  1602. 0000107A  6736                     beq        +0x38 /* 000010B2 */
  1603. 0000107C  206A 0050                movea.l    A0, [A2 + 0x50]
  1604. 00001080  2050                     movea.l    A0, [A0]
  1605. 00001082  4AA8 0030                tst.l      [A0 + 0x30]
  1606. 00001086  672A                     beq        +0x2C /* 000010B2 */
  1607. 00001088  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1608. 0000108C  4EAD DD80                jsr        [A5 - 0x2280]
  1609. 00001090  2F48 0004                move.l     [A7 + 0x4], A0
  1610. 00001094  206A 0048                movea.l    A0, [A2 + 0x48]
  1611. 00001098  2F28 0018                move.l     -[A7], [A0 + 0x18]
  1612. 0000109C  486D E6D0                pea.l      [A5 - 0x1930]
  1613. 000010A0  2F0A                     move.l     -[A7], A2
  1614. 000010A2  42A7                     clr.l      -[A7]
  1615. 000010A4  4EAD DE28                jsr        [A5 - 0x21D8]
  1616. 000010A8  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1617. 000010AC  4EAD DD88                jsr        [A5 - 0x2278]
  1618. 000010B0  504F                     addq.w     A7, 8
  1619. label000010B2:
  1620. 000010B2  584F                     addq.w     A7, 4
  1621. 000010B4  245F                     movea.l    A2, [A7]+
  1622. 000010B6  4E75                     rts
  1623. 000010B8  48E7 0038                movem.l    -[A7], A2,A3,A4
  1624. 000010BC  514F                     subq.w     A7, 8
  1625. 000010BE  246F 0018                movea.l    A2, [A7 + 0x18]
  1626. 000010C2  4AAA 0050                tst.l      [A2 + 0x50]
  1627. 000010C6  6700 009A                beq        +0x9C /* 00001162 */
  1628. 000010CA  206A 0050                movea.l    A0, [A2 + 0x50]
  1629. 000010CE  2050                     movea.l    A0, [A0]
  1630. 000010D0  4AA8 0030                tst.l      [A0 + 0x30]
  1631. 000010D4  6700 008C                beq        +0x8E /* 00001162 */
  1632. 000010D8  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1633. 000010DC  4EAD DD80                jsr        [A5 - 0x2280]
  1634. 000010E0  2648                     movea.l    A3, A0
  1635. 000010E2  206A 0048                movea.l    A0, [A2 + 0x48]
  1636. 000010E6  2F28 0018                move.l     -[A7], [A0 + 0x18]
  1637. 000010EA  486D E6D0                pea.l      [A5 - 0x1930]
  1638. 000010EE  2F0A                     move.l     -[A7], A2
  1639. 000010F0  42A7                     clr.l      -[A7]
  1640. 000010F2  4EAD DE28                jsr        [A5 - 0x21D8]
  1641. 000010F6  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1642. 000010FA  4EBA 0A6C                jsr        [PC + 0xA6C /* 00001B68 */]
  1643. 000010FE  4227                     clr.b      -[A7]
  1644. 00001100  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  1645. 00001104  4EAD E9C8                jsr        [A5 - 0x1638]
  1646. 00001108  5C4F                     addq.w     A7, 6
  1647. 0000110A  2F08                     move.l     -[A7], A0
  1648. 0000110C  2F0B                     move.l     -[A7], A3
  1649. 0000110E  2F0A                     move.l     -[A7], A2
  1650. 00001110  4EBA 0A9A                jsr        [PC + 0xA9A /* 00001BAC */]
  1651. 00001114  1F3C 0001                move.b     -[A7], 0x1
  1652. 00001118  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  1653. 0000111C  4EAD E9C8                jsr        [A5 - 0x1638]
  1654. 00001120  206A 0050                movea.l    A0, [A2 + 0x50]
  1655. 00001124  2050                     movea.l    A0, [A0]
  1656. 00001126  2868 0004                movea.l    A4, [A0 + 0x4]
  1657. 0000112A  200C                     move.l     D0, A4
  1658. 0000112C  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  1659. 00001130  6714                     beq        +0x16 /* 00001146 */
  1660. 00001132  2054                     movea.l    A0, [A4]
  1661. 00001134  2EA8 0002                move.l     [A7], [A0 + 0x2]
  1662. 00001138  2F68 0006 0004           move.l     [A7 + 0x4], [A0 + 0x6]
  1663. 0000113E  4857                     pea.l      [A7]
  1664. 00001140  4EAD DCD8                jsr        [A5 - 0x2328]
  1665. 00001144  584F                     addq.w     A7, 4
  1666. label00001146:
  1667. 00001146  2F0B                     move.l     -[A7], A3
  1668. 00001148  2F0A                     move.l     -[A7], A2
  1669. 0000114A  4EBA 0B50                jsr        [PC + 0xB50 /* 00001C9C */]
  1670. 0000114E  2F0B                     move.l     -[A7], A3
  1671. 00001150  2F0A                     move.l     -[A7], A2
  1672. 00001152  4EBA 0C06                jsr        [PC + 0xC06 /* 00001D5A */]
  1673. 00001156  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1674. 0000115A  4EAD DD88                jsr        [A5 - 0x2278]
  1675. 0000115E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1676. label00001162:
  1677. 00001162  504F                     addq.w     A7, 8
  1678. 00001164  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1679. 00001168  4E75                     rts
  1680. 0000116A  48E7 0038                movem.l    -[A7], A2,A3,A4
  1681. 0000116E  514F                     subq.w     A7, 8
  1682. 00001170  246F 0018                movea.l    A2, [A7 + 0x18]
  1683. 00001174  286F 001C                movea.l    A4, [A7 + 0x1C]
  1684. 00001178  2F6C 000A 0004           move.l     [A7 + 0x4], [A4 + 0xA]
  1685. 0000117E  4AAA 0050                tst.l      [A2 + 0x50]
  1686. 00001182  6700 00E4                beq        +0xE6 /* 00001268 */
  1687. 00001186  486F 0004                pea.l      [A7 + 0x4]
  1688. 0000118A  A871                     syscall    GlobalToLocal
  1689. 0000118C  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1690. 00001190  4EAD DD80                jsr        [A5 - 0x2280]
  1691. 00001194  2648                     movea.l    A3, A0
  1692. 00001196  4AAB 0004                tst.l      [A3 + 0x4]
  1693. 0000119A  584F                     addq.w     A7, 4
  1694. 0000119C  672C                     beq        +0x2E /* 000011CA */
  1695. 0000119E  554F                     subq.w     A7, 2
  1696. 000011A0  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  1697. 000011A4  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  1698. 000011A8  A8E8                     syscall    PtInRgn
  1699. 000011AA  101F                     move.b     D0, [A7]+
  1700. 000011AC  671C                     beq        +0x1E /* 000011CA */
  1701. 000011AE  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  1702. 000011B2  4EAD DFA8                jsr        [A5 - 0x2058]
  1703. 000011B6  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  1704. 000011BA  2F0B                     move.l     -[A7], A3
  1705. 000011BC  2F0A                     move.l     -[A7], A2
  1706. 000011BE  4EBA 0FB0                jsr        [PC + 0xFB0 /* 00002170 */]
  1707. 000011C2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1708. 000011C6  6000 0096                bra        +0x98 /* 0000125E */
  1709. label000011CA:
  1710. 000011CA  554F                     subq.w     A7, 2
  1711. 000011CC  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  1712. 000011D0  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  1713. 000011D4  486F 000A                pea.l      [A7 + 0xA]
  1714. 000011D8  A96C                     syscall    FindControl
  1715. 000011DA  301F                     move.w     D0, [A7]+
  1716. 000011DC  0C40 000A                cmpi.w     D0, 0xA /* '\n' */
  1717. 000011E0  6616                     bne        +0x18 /* 000011F8 */
  1718. 000011E2  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  1719. 000011E6  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  1720. 000011EA  2F0B                     move.l     -[A7], A3
  1721. 000011EC  2F0A                     move.l     -[A7], A2
  1722. 000011EE  4EBA 0D64                jsr        [PC + 0xD64 /* 00001F54 */]
  1723. 000011F2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1724. 000011F6  6066                     bra        +0x68 /* 0000125E */
  1725. label000011F8:
  1726. 000011F8  4AAB 0024                tst.l      [A3 + 0x24]
  1727. 000011FC  6760                     beq        +0x62 /* 0000125E */
  1728. 000011FE  554F                     subq.w     A7, 2
  1729. 00001200  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  1730. 00001204  206B 0024                movea.l    A0, [A3 + 0x24]
  1731. 00001208  2050                     movea.l    A0, [A0]
  1732. 0000120A  4868 0008                pea.l      [A0 + 0x8]
  1733. 0000120E  A8AD                     syscall    PtInRect
  1734. 00001210  101F                     move.b     D0, [A7]+
  1735. 00001212  674A                     beq        +0x4C /* 0000125E */
  1736. 00001214  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  1737. 00001218  4EAD DFA8                jsr        [A5 - 0x2058]
  1738. 0000121C  4878 0001                push.l     0x1
  1739. 00001220  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  1740. 00001224  4EAD EA48                jsr        [A5 - 0x15B8]
  1741. 00001228  584F                     addq.w     A7, 4
  1742. 0000122A  2F00                     move.l     -[A7], D0
  1743. 0000122C  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  1744. 00001230  4EBA F0F8                jsr        [PC - 0xF08 /* 0000032A */]
  1745. 00001234  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  1746. 00001238  4EAD EA30                jsr        [A5 - 0x15D0]
  1747. 0000123C  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  1748. 00001240  302C 000E                move.w     D0, [A4 + 0xE]
  1749. 00001244  0280 0000 0200           andi.l     D0, 0x200
  1750. 0000124A  56C0                     sne        D0
  1751. 0000124C  4400                     neg.b      D0
  1752. 0000124E  4880                     ext.w      D0
  1753. 00001250  48C0                     ext.l      D0
  1754. 00001252  1F00                     move.b     -[A7], D0
  1755. 00001254  2F2B 0024                move.l     -[A7], [A3 + 0x24]
  1756. 00001258  A9D4                     syscall    TEClick
  1757. 0000125A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  1758. label0000125E:
  1759. 0000125E  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1760. 00001262  4EAD DD88                jsr        [A5 - 0x2278]
  1761. 00001266  584F                     addq.w     A7, 4
  1762. label00001268:
  1763. 00001268  504F                     addq.w     A7, 8
  1764. 0000126A  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  1765. 0000126E  4E75                     rts
  1766. 00001270  4E75                     rts
  1767. fn00001272:
  1768. 00001272  48E7 0030                movem.l    -[A7], A2,A3
  1769. 00001276  266F 000C                movea.l    A3, [A7 + 0xC]
  1770. 0000127A  4AAD 8C2C                tst.l      [A5 - 0x73D4]
  1771. 0000127E  6766                     beq        +0x68 /* 000012E6 */
  1772. 00001280  594F                     subq.w     A7, 4
  1773. 00001282  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  1774. 00001286  4E90                     jsr        [A0]
  1775. 00001288  205F                     movea.l    A0, [A7]+
  1776. 0000128A  2448                     movea.l    A2, A0
  1777. 0000128C  200A                     move.l     D0, A2
  1778. 0000128E  6716                     beq        +0x18 /* 000012A6 */
  1779. 00001290  302A 006C                move.w     D0, [A2 + 0x6C]
  1780. 00001294  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  1781. 00001298  660C                     bne        +0xE /* 000012A6 */
  1782. 0000129A  2F0A                     move.l     -[A7], A2
  1783. 0000129C  4EBA 45EC                jsr        [PC + 0x45EC /* 0000588A */]
  1784. 000012A0  5300                     subq.b     D0, 1
  1785. 000012A2  584F                     addq.w     A7, 4
  1786. 000012A4  6740                     beq        +0x42 /* 000012E6 */
  1787. label000012A6:
  1788. 000012A6  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  1789. 000012AA  4EAD DD80                jsr        [A5 - 0x2280]
  1790. 000012AE  2448                     movea.l    A2, A0
  1791. 000012B0  4AAA 0030                tst.l      [A2 + 0x30]
  1792. 000012B4  584F                     addq.w     A7, 4
  1793. 000012B6  6724                     beq        +0x26 /* 000012DC */
  1794. 000012B8  4AAA 0024                tst.l      [A2 + 0x24]
  1795. 000012BC  671E                     beq        +0x20 /* 000012DC */
  1796. 000012BE  4AAF 0010                tst.l      [A7 + 0x10]
  1797. 000012C2  6708                     beq        +0xA /* 000012CC */
  1798. 000012C4  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  1799. 000012C8  A9D8                     syscall    TEActivate
  1800. 000012CA  6010                     bra        +0x12 /* 000012DC */
  1801. label000012CC:
  1802. 000012CC  2F0A                     move.l     -[A7], A2
  1803. 000012CE  2F0B                     move.l     -[A7], A3
  1804. 000012D0  4EBA 0E16                jsr        [PC + 0xE16 /* 000020E8 */]
  1805. 000012D4  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  1806. 000012D8  A9D9                     syscall    TEDeactivate
  1807. 000012DA  504F                     addq.w     A7, 8
  1808. label000012DC:
  1809. 000012DC  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  1810. 000012E0  4EAD DD88                jsr        [A5 - 0x2278]
  1811. 000012E4  584F                     addq.w     A7, 4
  1812. label000012E6:
  1813. 000012E6  4CDF 0C00                movem.l    A2,A3, [A7]+
  1814. 000012EA  4E75                     rts
  1815. 000012EC  4E75                     rts
  1816. 000012EE  48E7 1030                movem.l    -[A7], D3,A2,A3
  1817. 000012F2  246F 0010                movea.l    A2, [A7 + 0x10]
  1818. 000012F6  262F 0014                move.l     D3, [A7 + 0x14]
  1819. 000012FA  4AAA 0050                tst.l      [A2 + 0x50]
  1820. 000012FE  6742                     beq        +0x44 /* 00001342 */
  1821. 00001300  206A 0050                movea.l    A0, [A2 + 0x50]
  1822. 00001304  2050                     movea.l    A0, [A0]
  1823. 00001306  4AA8 0030                tst.l      [A0 + 0x30]
  1824. 0000130A  6736                     beq        +0x38 /* 00001342 */
  1825. 0000130C  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1826. 00001310  4EAD DD80                jsr        [A5 - 0x2280]
  1827. 00001314  2648                     movea.l    A3, A0
  1828. 00001316  486D E6D8                pea.l      [A5 - 0x1928]
  1829. 0000131A  2003                     move.l     D0, D3
  1830. 0000131C  57C0                     seq        D0
  1831. 0000131E  4400                     neg.b      D0
  1832. 00001320  4880                     ext.w      D0
  1833. 00001322  48C0                     ext.l      D0
  1834. 00001324  2F00                     move.l     -[A7], D0
  1835. 00001326  2F0B                     move.l     -[A7], A3
  1836. 00001328  2F0A                     move.l     -[A7], A2
  1837. 0000132A  4EBA 0A96                jsr        [PC + 0xA96 /* 00001DC2 */]
  1838. 0000132E  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  1839. 00001332  4EAD DD88                jsr        [A5 - 0x2278]
  1840. 00001336  2F03                     move.l     -[A7], D3
  1841. 00001338  2F0A                     move.l     -[A7], A2
  1842. 0000133A  4EBA FF36                jsr        [PC - 0xCA /* 00001272 */]
  1843. 0000133E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  1844. label00001342:
  1845. 00001342  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  1846. 00001346  4E75                     rts
  1847. 00001348  2F0A                     move.l     -[A7], A2
  1848. 0000134A  206F 0008                movea.l    A0, [A7 + 0x8]
  1849. 0000134E  4AA8 0050                tst.l      [A0 + 0x50]
  1850. 00001352  6718                     beq        +0x1A /* 0000136C */
  1851. 00001354  2068 0050                movea.l    A0, [A0 + 0x50]
  1852. 00001358  2450                     movea.l    A2, [A0]
  1853. 0000135A  4AAA 0030                tst.l      [A2 + 0x30]
  1854. 0000135E  670C                     beq        +0xE /* 0000136C */
  1855. 00001360  4AAA 0024                tst.l      [A2 + 0x24]
  1856. 00001364  6706                     beq        +0x8 /* 0000136C */
  1857. 00001366  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  1858. 0000136A  A9DA                     syscall    TEIdle
  1859. label0000136C:
  1860. 0000136C  245F                     movea.l    A2, [A7]+
  1861. 0000136E  4E75                     rts
  1862. 00001370  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  1863. 00001374  594F                     subq.w     A7, 4
  1864. 00001376  266F 0020                movea.l    A3, [A7 + 0x20]
  1865. 0000137A  7C00                     moveq.l    D6, 0x00
  1866. 0000137C  7600                     moveq.l    D3, 0x00
  1867. 0000137E  4AAB 0050                tst.l      [A3 + 0x50]
  1868. 00001382  6700 0158                beq        +0x15A /* 000014DC */
  1869. 00001386  206B 0050                movea.l    A0, [A3 + 0x50]
  1870. 0000138A  2450                     movea.l    A2, [A0]
  1871. 0000138C  4AAA 0024                tst.l      [A2 + 0x24]
  1872. 00001390  672A                     beq        +0x2C /* 000013BC */
  1873. 00001392  554F                     subq.w     A7, 2
  1874. 00001394  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  1875. 00001398  206A 0024                movea.l    A0, [A2 + 0x24]
  1876. 0000139C  2050                     movea.l    A0, [A0]
  1877. 0000139E  4868 0008                pea.l      [A0 + 0x8]
  1878. 000013A2  A8AD                     syscall    PtInRect
  1879. 000013A4  101F                     move.b     D0, [A7]+
  1880. 000013A6  6714                     beq        +0x16 /* 000013BC */
  1881. 000013A8  7C01                     moveq.l    D6, 0x01
  1882. 000013AA  7602                     moveq.l    D3, 0x02
  1883. 000013AC  206A 0024                movea.l    A0, [A2 + 0x24]
  1884. 000013B0  2250                     movea.l    A1, [A0]
  1885. 000013B2  7008                     moveq.l    D0, 0x08
  1886. 000013B4  2EB1 0804                move.l     [A7], [A1 + D0 + 0x4]
  1887. 000013B8  6000 0122                bra        +0x124 /* 000014DC */
  1888. label000013BC:
  1889. 000013BC  4AAA 0004                tst.l      [A2 + 0x4]
  1890. 000013C0  672E                     beq        +0x30 /* 000013F0 */
  1891. 000013C2  554F                     subq.w     A7, 2
  1892. 000013C4  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  1893. 000013C8  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  1894. 000013CC  A8E8                     syscall    PtInRgn
  1895. 000013CE  101F                     move.b     D0, [A7]+
  1896. 000013D0  671E                     beq        +0x20 /* 000013F0 */
  1897. 000013D2  3C2D 135E                move.w     D6, [A5 + 0x135E]
  1898. 000013D6  48C6                     ext.l      D6
  1899. 000013D8  0686 0000 0081           addi.l     D6, 0x81
  1900. 000013DE  7601                     moveq.l    D3, 0x01
  1901. 000013E0  206A 0004                movea.l    A0, [A2 + 0x4]
  1902. 000013E4  2250                     movea.l    A1, [A0]
  1903. 000013E6  7002                     moveq.l    D0, 0x02
  1904. 000013E8  2EB1 0804                move.l     [A7], [A1 + D0 + 0x4]
  1905. 000013EC  6000 00EE                bra        +0xF0 /* 000014DC */
  1906. label000013F0:
  1907. 000013F0  1F3C 000C                move.b     -[A7], 0xC
  1908. 000013F4  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  1909. 000013F8  4EBA 4090                jsr        [PC + 0x4090 /* 0000548A */]
  1910. 000013FC  2448                     movea.l    A2, A0
  1911. 000013FE  2008                     move.l     D0, A0
  1912. 00001400  5C4F                     addq.w     A7, 6
  1913. 00001402  6700 00D8                beq        +0xDA /* 000014DC */
  1914. 00001406  594F                     subq.w     A7, 4
  1915. 00001408  2F0A                     move.l     -[A7], A2
  1916. 0000140A  4EAD D9AC                jsr        [A5 - 0x2654]
  1917. 0000140E  201F                     move.l     D0, [A7]+
  1918. 00001410  223C 0000 0112           move.l     D1, 0x112
  1919. 00001416  4EAD D8FE                jsr        [A5 - 0x2702]
  1920. 0000141A  2A00                     move.l     D5, D0
  1921. 0000141C  2652                     movea.l    A3, [A2]
  1922. 0000141E  7800                     moveq.l    D4, 0x00
  1923. 00001420  6000 00B4                bra        +0xB6 /* 000014D6 */
  1924. label00001424:
  1925. 00001424  4AAB 0100                tst.l      [A3 + 0x100]
  1926. 00001428  6700 00A6                beq        +0xA8 /* 000014D0 */
  1927. 0000142C  206B 0100                movea.l    A0, [A3 + 0x100]
  1928. 00001430  2450                     movea.l    A2, [A0]
  1929. 00001432  554F                     subq.w     A7, 2
  1930. 00001434  2F2F 0026                move.l     -[A7], [A7 + 0x26]
  1931. 00001438  486A 0008                pea.l      [A2 + 0x8]
  1932. 0000143C  A8AD                     syscall    PtInRect
  1933. 0000143E  101F                     move.b     D0, [A7]+
  1934. 00001440  6700 008E                beq        +0x90 /* 000014D0 */
  1935. 00001444  7008                     moveq.l    D0, 0x08
  1936. 00001446  2EB2 0804                move.l     [A7], [A2 + D0 + 0x4]
  1937. 0000144A  7000                     moveq.l    D0, 0x00
  1938. 0000144C  102B 0110                move.b     D0, [A3 + 0x110]
  1939. 00001450  0C80 0000 0007           cmpi.l     D0, 0x7
  1940. 00001456  6200 0084                bhi        +0x86 /* 000014DC */
  1941. 0000145A  D040                     add.w      D0, D0
  1942. 0000145C  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  1943. 00001460  4EFB 0002                jmp        [PC + D0.w + 0x2]
  1944. 00001464  0010 0020                ori.b      [A0], 0x20 /* ' ' */
  1945. 00001468  0024 0034                ori.b      -[A4], 0x34 /* '4' */
  1946. 0000146C  0044 0054                ori.w      D4, 0x54 /* 'T' */
  1947. 00001470  0064 0068                ori.w      -[A4], 0x68 /* 'h' */
  1948. 00001474  4A2A 0011                tst.b      [A2 + 0x11]
  1949. 00001478  6704                     beq        +0x6 /* 0000147E */
  1950. 0000147A  7004                     moveq.l    D0, 0x04
  1951. 0000147C  6002                     bra        +0x4 /* 00001480 */
  1952. label0000147E:
  1953. 0000147E  7003                     moveq.l    D0, 0x03
  1954. label00001480:
  1955. 00001480  3600                     move.w     D3, D0
  1956. 00001482  6058                     bra        +0x5A /* 000014DC */
  1957. 00001484  7605                     moveq.l    D3, 0x05
  1958. 00001486  6054                     bra        +0x56 /* 000014DC */
  1959. 00001488  4A2A 0011                tst.b      [A2 + 0x11]
  1960. 0000148C  6704                     beq        +0x6 /* 00001492 */
  1961. 0000148E  7009                     moveq.l    D0, 0x09
  1962. 00001490  6002                     bra        +0x4 /* 00001494 */
  1963. label00001492:
  1964. 00001492  7008                     moveq.l    D0, 0x08
  1965. label00001494:
  1966. 00001494  3600                     move.w     D3, D0
  1967. 00001496  6044                     bra        +0x46 /* 000014DC */
  1968. 00001498  4A2A 0011                tst.b      [A2 + 0x11]
  1969. 0000149C  6704                     beq        +0x6 /* 000014A2 */
  1970. 0000149E  700B                     moveq.l    D0, 0x0B
  1971. 000014A0  6002                     bra        +0x4 /* 000014A4 */
  1972. label000014A2:
  1973. 000014A2  700A                     moveq.l    D0, 0x0A
  1974. label000014A4:
  1975. 000014A4  3600                     move.w     D3, D0
  1976. 000014A6  6034                     bra        +0x36 /* 000014DC */
  1977. 000014A8  4A2A 0011                tst.b      [A2 + 0x11]
  1978. 000014AC  6704                     beq        +0x6 /* 000014B2 */
  1979. 000014AE  7007                     moveq.l    D0, 0x07
  1980. 000014B0  6002                     bra        +0x4 /* 000014B4 */
  1981. label000014B2:
  1982. 000014B2  7006                     moveq.l    D0, 0x06
  1983. label000014B4:
  1984. 000014B4  3600                     move.w     D3, D0
  1985. 000014B6  6024                     bra        +0x26 /* 000014DC */
  1986. 000014B8  4A2A 0011                tst.b      [A2 + 0x11]
  1987. 000014BC  6704                     beq        +0x6 /* 000014C2 */
  1988. 000014BE  700D                     moveq.l    D0, 0x0D
  1989. 000014C0  6002                     bra        +0x4 /* 000014C4 */
  1990. label000014C2:
  1991. 000014C2  700C                     moveq.l    D0, 0x0C
  1992. label000014C4:
  1993. 000014C4  3600                     move.w     D3, D0
  1994. 000014C6  6014                     bra        +0x16 /* 000014DC */
  1995. 000014C8  760E                     moveq.l    D3, 0x0E
  1996. 000014CA  6010                     bra        +0x12 /* 000014DC */
  1997. 000014CC  760F                     moveq.l    D3, 0x0F
  1998. 000014CE  600C                     bra        +0xE /* 000014DC */
  1999. label000014D0:
  2000. 000014D0  5284                     addq.l     D4, 1
  2001. 000014D2  47EB 0112                lea.l      A3, [A3 + 0x112]
  2002. label000014D6:
  2003. 000014D6  B885                     cmp.l      D4, D5
  2004. 000014D8  6D00 FF4A                blt        -0xB4 /* 00001424 */
  2005. label000014DC:
  2006. 000014DC  3F06                     move.w     -[A7], D6
  2007. 000014DE  4EAD DDA0                jsr        [A5 - 0x2260]
  2008. 000014E2  4857                     pea.l      [A7]
  2009. 000014E4  A870                     syscall    LocalToGlobal
  2010. 000014E6  3F03                     move.w     -[A7], D3
  2011. 000014E8  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  2012. 000014EC  4EAD DFE8                jsr        [A5 - 0x2018]
  2013. 000014F0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  2014. 000014F4  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  2015. 000014F8  4E75                     rts
  2016. fn000014FA:
  2017. 000014FA  48E7 1020                movem.l    -[A7], D3,A2
  2018. 000014FE  514F                     subq.w     A7, 8
  2019. 00001500  246F 0014                movea.l    A2, [A7 + 0x14]
  2020. 00001504  4AAA 0050                tst.l      [A2 + 0x50]
  2021. 00001508  673C                     beq        +0x3E /* 00001546 */
  2022. 0000150A  206A 0050                movea.l    A0, [A2 + 0x50]
  2023. 0000150E  2050                     movea.l    A0, [A0]
  2024. 00001510  4AA8 0030                tst.l      [A0 + 0x30]
  2025. 00001514  6730                     beq        +0x32 /* 00001546 */
  2026. 00001516  0C2F 0001 0018           cmpi.b     [A7 + 0x18], 0x1
  2027. 0000151C  6628                     bne        +0x2A /* 00001546 */
  2028. 0000151E  206A 0048                movea.l    A0, [A2 + 0x48]
  2029. 00001522  3628 0016                move.w     D3, [A0 + 0x16]
  2030. 00001526  3003                     move.w     D0, D3
  2031. 00001528  48C0                     ext.l      D0
  2032. 0000152A  5380                     subq.l     D0, 1
  2033. 0000152C  3F40 0002                move.w     [A7 + 0x2], D0
  2034. 00001530  3F43 0006                move.w     [A7 + 0x6], D3
  2035. 00001534  206A 0048                movea.l    A0, [A2 + 0x48]
  2036. 00001538  3EA8 0010                move.w     [A7], [A0 + 0x10]
  2037. 0000153C  3F6A 0044 0004           move.w     [A7 + 0x4], [A2 + 0x44]
  2038. 00001542  4857                     pea.l      [A7]
  2039. 00001544  A928                     syscall    InvalRect
  2040. label00001546:
  2041. 00001546  504F                     addq.w     A7, 8
  2042. 00001548  4CDF 0408                movem.l    D3,A2, [A7]+
  2043. 0000154C  4E75                     rts
  2044. 0000154E  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  2045. 00001552  514F                     subq.w     A7, 8
  2046. 00001554  246F 001C                movea.l    A2, [A7 + 0x1C]
  2047. 00001558  162F 0020                move.b     D3, [A7 + 0x20]
  2048. 0000155C  4AAA 0050                tst.l      [A2 + 0x50]
  2049. 00001560  6706                     beq        +0x8 /* 00001568 */
  2050. 00001562  0C03 0002                cmpi.b     D3, 0x2
  2051. 00001566  6608                     bne        +0xA /* 00001570 */
  2052. label00001568:
  2053. 00001568  504F                     addq.w     A7, 8
  2054. 0000156A  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2055. 0000156E  4E75                     rts
  2056. label00001570:
  2057. 00001570  426A 0040                clr.w      [A2 + 0x40]
  2058. 00001574  426A 0042                clr.w      [A2 + 0x42]
  2059. 00001578  206A 0048                movea.l    A0, [A2 + 0x48]
  2060. 0000157C  3568 0016 0046           move.w     [A2 + 0x46], [A0 + 0x16]
  2061. 00001582  206A 0050                movea.l    A0, [A2 + 0x50]
  2062. 00001586  2050                     movea.l    A0, [A0]
  2063. 00001588  4AA8 0030                tst.l      [A0 + 0x30]
  2064. 0000158C  660E                     bne        +0x10 /* 0000159C */
  2065. 0000158E  356A 0040 0044           move.w     [A2 + 0x44], [A2 + 0x40]
  2066. 00001594  504F                     addq.w     A7, 8
  2067. 00001596  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2068. 0000159A  4E75                     rts
  2069. label0000159C:
  2070. 0000159C  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  2071. 000015A0  4EAD DD80                jsr        [A5 - 0x2280]
  2072. 000015A4  2648                     movea.l    A3, A0
  2073. 000015A6  302D 135E                move.w     D0, [A5 + 0x135E]
  2074. 000015AA  48C0                     ext.l      D0
  2075. 000015AC  0680 0000 0081           addi.l     D0, 0x81
  2076. 000015B2  3F00                     move.w     -[A7], D0
  2077. 000015B4  A9BA                     syscall    GetString
  2078. 000015B6  205F                     movea.l    A0, [A7]+
  2079. 000015B8  2848                     movea.l    A4, A0
  2080. 000015BA  200C                     move.l     D0, A4
  2081. 000015BC  671C                     beq        +0x1E /* 000015DA */
  2082. 000015BE  2F0C                     move.l     -[A7], A4
  2083. 000015C0  4EAD DD80                jsr        [A5 - 0x2280]
  2084. 000015C4  584F                     addq.w     A7, 4
  2085. 000015C6  2F08                     move.l     -[A7], A0
  2086. 000015C8  2F0B                     move.l     -[A7], A3
  2087. 000015CA  2F0A                     move.l     -[A7], A2
  2088. 000015CC  4EBA 183E                jsr        [PC + 0x183E /* 00002E0C */]
  2089. 000015D0  2F0C                     move.l     -[A7], A4
  2090. 000015D2  4EAD DD88                jsr        [A5 - 0x2278]
  2091. 000015D6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2092. label000015DA:
  2093. 000015DA  1F03                     move.b     -[A7], D3
  2094. 000015DC  2F0A                     move.l     -[A7], A2
  2095. 000015DE  4EBA FF1A                jsr        [PC - 0xE6 /* 000014FA */]
  2096. 000015E2  2F0B                     move.l     -[A7], A3
  2097. 000015E4  2F0A                     move.l     -[A7], A2
  2098. 000015E6  4EBA 1434                jsr        [PC + 0x1434 /* 00002A1C */]
  2099. 000015EA  200C                     move.l     D0, A4
  2100. 000015EC  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2101. 000015F0  671E                     beq        +0x20 /* 00001610 */
  2102. 000015F2  4AAB 0024                tst.l      [A3 + 0x24]
  2103. 000015F6  6718                     beq        +0x1A /* 00001610 */
  2104. 000015F8  4857                     pea.l      [A7]
  2105. 000015FA  3F3C 0001                move.w     -[A7], 0x1
  2106. 000015FE  2F0B                     move.l     -[A7], A3
  2107. 00001600  2F0A                     move.l     -[A7], A2
  2108. 00001602  4EBA 17A0                jsr        [PC + 0x17A0 /* 00002DA4 */]
  2109. 00001606  486F 000E                pea.l      [A7 + 0xE]
  2110. 0000160A  A928                     syscall    InvalRect
  2111. 0000160C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2112. label00001610:
  2113. 00001610  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  2114. 00001614  4EAD DD88                jsr        [A5 - 0x2278]
  2115. 00001618  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2116. 0000161C  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  2117. 00001620  4E75                     rts
  2118. 00001622  48E7 1C38                movem.l    -[A7], D3,D4,D5,A2,A3,A4
  2119. 00001626  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  2120. 0000162A  246F 002C                movea.l    A2, [A7 + 0x2C]
  2121. 0000162E  1A2F 0030                move.b     D5, [A7 + 0x30]
  2122. 00001632  7601                     moveq.l    D3, 0x01
  2123. 00001634  4AAD 8C2C                tst.l      [A5 - 0x73D4]
  2124. 00001638  660C                     bne        +0xE /* 00001646 */
  2125. 0000163A  7000                     moveq.l    D0, 0x00
  2126. 0000163C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2127. 00001640  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  2128. 00001644  4E75                     rts
  2129. label00001646:
  2130. 00001646  4AAA 0050                tst.l      [A2 + 0x50]
  2131. 0000164A  660C                     bne        +0xE /* 00001658 */
  2132. 0000164C  7000                     moveq.l    D0, 0x00
  2133. 0000164E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2134. 00001652  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  2135. 00001656  4E75                     rts
  2136. label00001658:
  2137. 00001658  4A6D B48A                tst.w      [A5 - 0x4B76]
  2138. 0000165C  670E                     beq        +0x10 /* 0000166C */
  2139. 0000165E  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  2140. 00001662  4EAD F670                jsr        [A5 - 0x990]
  2141. 00001666  2008                     move.l     D0, A0
  2142. 00001668  584F                     addq.w     A7, 4
  2143. 0000166A  6604                     bne        +0x6 /* 00001670 */
  2144. label0000166C:
  2145. 0000166C  7000                     moveq.l    D0, 0x00
  2146. 0000166E  6002                     bra        +0x4 /* 00001672 */
  2147. label00001670:
  2148. 00001670  7001                     moveq.l    D0, 0x01
  2149. label00001672:
  2150. 00001672  2800                     move.l     D4, D0
  2151. 00001674  206A 0050                movea.l    A0, [A2 + 0x50]
  2152. 00001678  2650                     movea.l    A3, [A0]
  2153. 0000167A  4A84                     tst.l      D4
  2154. 0000167C  6706                     beq        +0x8 /* 00001684 */
  2155. 0000167E  0C05 0009                cmpi.b     D5, 0x9 /* '\t' */
  2156. 00001682  671E                     beq        +0x20 /* 000016A2 */
  2157. label00001684:
  2158. 00001684  4AAB 0024                tst.l      [A3 + 0x24]
  2159. 00001688  670C                     beq        +0xE /* 00001696 */
  2160. 0000168A  206B 0024                movea.l    A0, [A3 + 0x24]
  2161. 0000168E  2050                     movea.l    A0, [A0]
  2162. 00001690  4A68 0024                tst.w      [A0 + 0x24]
  2163. 00001694  660C                     bne        +0xE /* 000016A2 */
  2164. label00001696:
  2165. 00001696  7000                     moveq.l    D0, 0x00
  2166. 00001698  4FEF 0010                lea.l      A7, [A7 + 0x10]
  2167. 0000169C  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  2168. 000016A0  4E75                     rts
  2169. label000016A2:
  2170. 000016A2  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  2171. 000016A6  4EAD DD80                jsr        [A5 - 0x2280]
  2172. 000016AA  2648                     movea.l    A3, A0
  2173. 000016AC  1005                     move.b     D0, D5
  2174. 000016AE  4880                     ext.w      D0
  2175. 000016B0  48C0                     ext.l      D0
  2176. 000016B2  584F                     addq.w     A7, 4
  2177. 000016B4  4EAD D916                jsr        [A5 - 0x26EA]
  2178. 000016B8  009E 0000 0001           ori.l      [A6]+, 0x1
  2179. 000016BE  0000 001F                ori.b      D0, 0x1F
  2180. 000016C2  000B 0000                ori.b      A3, 0x0
  2181. 000016C6  0001 00EC                ori.b      D1, 0xEC
  2182. 000016CA  0000 0003                ori.b      D0, 0x3
  2183. 000016CE  00D8                     ori.?      [A0]+, 0xFFFFFFFFFFFFFFFF
  2184. 000016D0  0000 0004                ori.b      D0, 0x4
  2185. 000016D4  00E0                     ori.?      -[A0], 0xFFFFFFFFFFFFFFFF
  2186. 000016D6  0000 0009                ori.b      D0, 0x9 /* '\t' */
  2187. 000016DA  00DE                     ori.?      [A6]+, 0xFFFFFFFFFFFFFFFF
  2188. 000016DC  0000 000B                ori.b      D0, 0xB
  2189. 000016E0  00D4                     ori.?      [A4], 0xFFFFFFFFFFFFFFFF
  2190. 000016E2  0000 000C                ori.b      D0, 0xC
  2191. 000016E6  00CE                     ori.?      A6, 0xFFFFFFFFFFFFFFFF
  2192. 000016E8  0000 000D                ori.b      D0, 0xD /* '\r' */
  2193. 000016EC  00BA 0000 001B 001A      ori.l      [PC + 0x1A /* 00001708, value 0x1F00AA */], 0x1B
  2194. 000016F4  0000 001C                ori.b      D0, 0x1C
  2195. 000016F8  0022 0000                ori.b      -[A2], 0x0
  2196. 000016FC  001D 001C                ori.b      [A5]+, 0x1C
  2197. 00001700  0000 001E                ori.b      D0, 0x1E
  2198. 00001704  00B0 0000 001F 00AA      ori.l      [A0 + D0.w - 0x86], 0x1F
  2199. 0000170C  2F0B                     move.l     -[A7], A3
  2200. 0000170E  2F0A                     move.l     -[A7], A2
  2201. 00001710  4EBA 09D6                jsr        [PC + 0x9D6 /* 000020E8 */]
  2202. 00001714  504F                     addq.w     A7, 8
  2203. 00001716  6000 00AE                bra        +0xB0 /* 000017C6 */
  2204. 0000171A  4227                     clr.b      -[A7]
  2205. 0000171C  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  2206. 00001720  4EAD E9C8                jsr        [A5 - 0x1638]
  2207. 00001724  2848                     movea.l    A4, A0
  2208. 00001726  4AAC 0028                tst.l      [A4 + 0x28]
  2209. 0000172A  5C4F                     addq.w     A7, 6
  2210. 0000172C  670A                     beq        +0xC /* 00001738 */
  2211. 0000172E  554F                     subq.w     A7, 2
  2212. 00001730  2F0C                     move.l     -[A7], A4
  2213. 00001732  A8AE                     syscall    EmptyRect
  2214. 00001734  101F                     move.b     D0, [A7]+
  2215. 00001736  6704                     beq        +0x6 /* 0000173C */
  2216. label00001738:
  2217. 00001738  7000                     moveq.l    D0, 0x00
  2218. 0000173A  6002                     bra        +0x4 /* 0000173E */
  2219. label0000173C:
  2220. 0000173C  7001                     moveq.l    D0, 0x01
  2221. label0000173E:
  2222. 0000173E  2800                     move.l     D4, D0
  2223. 00001740  1F3C 0001                move.b     -[A7], 0x1
  2224. 00001744  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  2225. 00001748  4EAD E9C8                jsr        [A5 - 0x1638]
  2226. 0000174C  4A84                     tst.l      D4
  2227. 0000174E  5C4F                     addq.w     A7, 6
  2228. 00001750  6704                     beq        +0x6 /* 00001756 */
  2229. 00001752  7600                     moveq.l    D3, 0x00
  2230. 00001754  6070                     bra        +0x72 /* 000017C6 */
  2231. label00001756:
  2232. 00001756  4878 0001                push.l     0x1
  2233. 0000175A  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  2234. 0000175E  4EAD EA10                jsr        [A5 - 0x15F0]
  2235. 00001762  1005                     move.b     D0, D5
  2236. 00001764  4880                     ext.w      D0
  2237. 00001766  3F00                     move.w     -[A7], D0
  2238. 00001768  2F2B 0024                move.l     -[A7], [A3 + 0x24]
  2239. 0000176C  A9DC                     syscall    TEKey
  2240. 0000176E  3F3C 0028                move.w     -[A7], 0x28 /* '(' */
  2241. 00001772  486F 000A                pea.l      [A7 + 0xA]
  2242. 00001776  A971                     syscall    EventAvail
  2243. 00001778  101F                     move.b     D0, [A7]+
  2244. 0000177A  5C4F                     addq.w     A7, 6
  2245. 0000177C  671C                     beq        +0x1E /* 0000179A */
  2246. 0000177E  282F 0002                move.l     D4, [A7 + 0x2]
  2247. 00001782  0284 0000 00FF           andi.l     D4, 0xFF
  2248. 00001788  0C04 001B                cmpi.b     D4, 0x1B
  2249. 0000178C  670C                     beq        +0xE /* 0000179A */
  2250. 0000178E  0C04 000D                cmpi.b     D4, 0xD /* '\r' */
  2251. 00001792  6706                     beq        +0x8 /* 0000179A */
  2252. 00001794  0C04 0003                cmpi.b     D4, 0x3
  2253. 00001798  662C                     bne        +0x2E /* 000017C6 */
  2254. label0000179A:
  2255. 0000179A  2F0B                     move.l     -[A7], A3
  2256. 0000179C  2F0A                     move.l     -[A7], A2
  2257. 0000179E  4EBA 13BA                jsr        [PC + 0x13BA /* 00002B5A */]
  2258. 000017A2  504F                     addq.w     A7, 8
  2259. 000017A4  6020                     bra        +0x22 /* 000017C6 */
  2260. 000017A6  2F2B 0024                move.l     -[A7], [A3 + 0x24]
  2261. 000017AA  4EBA 14F0                jsr        [PC + 0x14F0 /* 00002C9C */]
  2262. 000017AE  4A80                     tst.l      D0
  2263. 000017B0  584F                     addq.w     A7, 4
  2264. 000017B2  6612                     bne        +0x14 /* 000017C6 */
  2265. 000017B4  7600                     moveq.l    D3, 0x00
  2266. 000017B6  600E                     bra        +0x10 /* 000017C6 */
  2267. 000017B8  4A84                     tst.l      D4
  2268. 000017BA  670A                     beq        +0xC /* 000017C6 */
  2269. 000017BC  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  2270. 000017C0  4EAD EA30                jsr        [A5 - 0x15D0]
  2271. 000017C4  584F                     addq.w     A7, 4
  2272. label000017C6:
  2273. 000017C6  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  2274. 000017CA  4EAD DD88                jsr        [A5 - 0x2278]
  2275. 000017CE  2003                     move.l     D0, D3
  2276. 000017D0  4FEF 0014                lea.l      A7, [A7 + 0x14]
  2277. 000017D4  4CDF 1C38                movem.l    D3,D4,D5,A2,A3,A4, [A7]+
  2278. 000017D8  4E75                     rts
  2279. 000017DA  7000                     moveq.l    D0, 0x00
  2280. 000017DC  4E75                     rts
  2281. 000017DE  48E7 0038                movem.l    -[A7], A2,A3,A4
  2282. 000017E2  286F 0010                movea.l    A4, [A7 + 0x10]
  2283. 000017E6  246F 0014                movea.l    A2, [A7 + 0x14]
  2284. 000017EA  206C 0050                movea.l    A0, [A4 + 0x50]
  2285. 000017EE  2650                     movea.l    A3, [A0]
  2286. 000017F0  4AAB 0024                tst.l      [A3 + 0x24]
  2287. 000017F4  671E                     beq        +0x20 /* 00001814 */
  2288. 000017F6  4AAD 8C2C                tst.l      [A5 - 0x73D4]
  2289. 000017FA  6604                     bne        +0x6 /* 00001800 */
  2290. 000017FC  7000                     moveq.l    D0, 0x00
  2291. 000017FE  600A                     bra        +0xC /* 0000180A */
  2292. label00001800:
  2293. 00001800  302B 002C                move.w     D0, [A3 + 0x2C]
  2294. 00001804  48C0                     ext.l      D0
  2295. 00001806  724C                     moveq.l    D1, 0x4C
  2296. 00001808  D081                     add.l      D0, D1
  2297. label0000180A:
  2298. 0000180A  7227                     moveq.l    D1, 0x27
  2299. 0000180C  D081                     add.l      D0, D1
  2300. 0000180E  3540 0002                move.w     [A2 + 0x2], D0
  2301. 00001812  6006                     bra        +0x8 /* 0000181A */
  2302. label00001814:
  2303. 00001814  357C 0096 0002           move.w     [A2 + 0x2], 0x96
  2304. label0000181A:
  2305. 0000181A  34AC 0044                move.w     [A2], [A4 + 0x44]
  2306. 0000181E  357C 7FFF 0004           move.w     [A2 + 0x4], 0x7FFF
  2307. 00001824  357C 7FFF 0006           move.w     [A2 + 0x6], 0x7FFF
  2308. 0000182A  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  2309. 0000182E  4E75                     rts
  2310. fn00001830:
  2311. 00001830  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  2312. 00001834  2C6F 0024                movea.l    A6, [A7 + 0x24]
  2313. 00001838  286F 0028                movea.l    A4, [A7 + 0x28]
  2314. 0000183C  2F0C                     move.l     -[A7], A4
  2315. 0000183E  2F0E                     move.l     -[A7], A6
  2316. 00001840  4EBA 00EE                jsr        [PC + 0xEE /* 00001930 */]
  2317. 00001844  3800                     move.w     D4, D0
  2318. 00001846  504F                     addq.w     A7, 8
  2319. 00001848  6708                     beq        +0xA /* 00001852 */
  2320. 0000184A  3004                     move.w     D0, D4
  2321. 0000184C  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  2322. 00001850  4E75                     rts
  2323. label00001852:
  2324. 00001852  1F3C 000C                move.b     -[A7], 0xC
  2325. 00001856  2F2E 0048                move.l     -[A7], [A6 + 0x48]
  2326. 0000185A  4EBA 3C2E                jsr        [PC + 0x3C2E /* 0000548A */]
  2327. 0000185E  2C08                     move.l     D6, A0
  2328. 00001860  2008                     move.l     D0, A0
  2329. 00001862  5C4F                     addq.w     A7, 6
  2330. 00001864  6700 00B4                beq        +0xB6 /* 0000191A */
  2331. 00001868  594F                     subq.w     A7, 4
  2332. 0000186A  2F06                     move.l     -[A7], D6
  2333. 0000186C  4EAD D9AC                jsr        [A5 - 0x2654]
  2334. 00001870  201F                     move.l     D0, [A7]+
  2335. 00001872  223C 0000 0112           move.l     D1, 0x112
  2336. 00001878  4EAD D8FE                jsr        [A5 - 0x2702]
  2337. 0000187C  2A00                     move.l     D5, D0
  2338. 0000187E  2F06                     move.l     -[A7], D6
  2339. 00001880  4EAD DD80                jsr        [A5 - 0x2280]
  2340. 00001884  2448                     movea.l    A2, A0
  2341. 00001886  7600                     moveq.l    D3, 0x00
  2342. 00001888  584F                     addq.w     A7, 4
  2343. 0000188A  6000 0080                bra        +0x82 /* 0000190C */
  2344. label0000188E:
  2345. 0000188E  4A2A 0110                tst.b      [A2 + 0x110]
  2346. 00001892  6608                     bne        +0xA /* 0000189C */
  2347. 00001894  264C                     movea.l    A3, A4
  2348. 00001896  508B                     addq.l     A3, 8
  2349. 00001898  508B                     addq.l     A3, 8
  2350. 0000189A  6042                     bra        +0x44 /* 000018DE */
  2351. label0000189C:
  2352. 0000189C  0C2A 0001 0110           cmpi.b     [A2 + 0x110], 0x1
  2353. 000018A2  6608                     bne        +0xA /* 000018AC */
  2354. 000018A4  264C                     movea.l    A3, A4
  2355. 000018A6  47EB 0014                lea.l      A3, [A3 + 0x14]
  2356. 000018AA  6032                     bra        +0x34 /* 000018DE */
  2357. label000018AC:
  2358. 000018AC  0C2A 0004 0110           cmpi.b     [A2 + 0x110], 0x4
  2359. 000018B2  6608                     bne        +0xA /* 000018BC */
  2360. 000018B4  264C                     movea.l    A3, A4
  2361. 000018B6  47EB 0020                lea.l      A3, [A3 + 0x20]
  2362. 000018BA  6022                     bra        +0x24 /* 000018DE */
  2363. label000018BC:
  2364. 000018BC  0C2A 0002 0110           cmpi.b     [A2 + 0x110], 0x2
  2365. 000018C2  6608                     bne        +0xA /* 000018CC */
  2366. 000018C4  264C                     movea.l    A3, A4
  2367. 000018C6  47EB 0018                lea.l      A3, [A3 + 0x18]
  2368. 000018CA  6012                     bra        +0x14 /* 000018DE */
  2369. label000018CC:
  2370. 000018CC  0C2A 0003 0110           cmpi.b     [A2 + 0x110], 0x3
  2371. 000018D2  6608                     bne        +0xA /* 000018DC */
  2372. 000018D4  264C                     movea.l    A3, A4
  2373. 000018D6  47EB 001C                lea.l      A3, [A3 + 0x1C]
  2374. 000018DA  6002                     bra        +0x4 /* 000018DE */
  2375. label000018DC:
  2376. 000018DC  97CB                     sub.l      A3, A3
  2377. label000018DE:
  2378. 000018DE  3F3C FFFF                move.w     -[A7], 0xFFFF
  2379. 000018E2  2F0B                     move.l     -[A7], A3
  2380. 000018E4  1F2A 0110                move.b     -[A7], [A2 + 0x110]
  2381. 000018E8  2F2A 0104                move.l     -[A7], [A2 + 0x104]
  2382. 000018EC  42A7                     clr.l      -[A7]
  2383. 000018EE  2F0A                     move.l     -[A7], A2
  2384. 000018F0  2F0A                     move.l     -[A7], A2
  2385. 000018F2  2F0C                     move.l     -[A7], A4
  2386. 000018F4  2F0E                     move.l     -[A7], A6
  2387. 000018F6  2F2E 0048                move.l     -[A7], [A6 + 0x48]
  2388. 000018FA  4EBA 0A06                jsr        [PC + 0xA06 /* 00002302 */]
  2389. 000018FE  3800                     move.w     D4, D0
  2390. 00001900  4FEF 0024                lea.l      A7, [A7 + 0x24]
  2391. 00001904  660C                     bne        +0xE /* 00001912 */
  2392. 00001906  5283                     addq.l     D3, 1
  2393. 00001908  45EA 0112                lea.l      A2, [A2 + 0x112]
  2394. label0000190C:
  2395. 0000190C  B685                     cmp.l      D3, D5
  2396. 0000190E  6D00 FF7E                blt        -0x80 /* 0000188E */
  2397. label00001912:
  2398. 00001912  2F06                     move.l     -[A7], D6
  2399. 00001914  4EAD DD88                jsr        [A5 - 0x2278]
  2400. 00001918  584F                     addq.w     A7, 4
  2401. label0000191A:
  2402. 0000191A  4A44                     tst.w      D4
  2403. 0000191C  660A                     bne        +0xC /* 00001928 */
  2404. 0000191E  2F0C                     move.l     -[A7], A4
  2405. 00001920  2F0E                     move.l     -[A7], A6
  2406. 00001922  4EBA 10F8                jsr        [PC + 0x10F8 /* 00002A1C */]
  2407. 00001926  504F                     addq.w     A7, 8
  2408. label00001928:
  2409. 00001928  3004                     move.w     D0, D4
  2410. 0000192A  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  2411. 0000192E  4E75                     rts
  2412. fn00001930:
  2413. 00001930  48E7 1820                movem.l    -[A7], D3,D4,A2
  2414. 00001934  4FEF FEF8                lea.l      A7, [A7 - 0x108]
  2415. 00001938  246F 011C                movea.l    A2, [A7 + 0x11C]
  2416. 0000193C  7600                     moveq.l    D3, 0x00
  2417. 0000193E  4AAD 8C2C                tst.l      [A5 - 0x73D4]
  2418. 00001942  660C                     bne        +0xE /* 00001950 */
  2419. 00001944  7000                     moveq.l    D0, 0x00
  2420. 00001946  4FEF 0108                lea.l      A7, [A7 + 0x108]
  2421. 0000194A  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  2422. 0000194E  4E75                     rts
  2423. label00001950:
  2424. 00001950  4EAD DD60                jsr        [A5 - 0x22A0]
  2425. 00001954  4267                     clr.w      -[A7]
  2426. 00001956  A887                     syscall    TextFont
  2427. 00001958  3F3C 000C                move.w     -[A7], 0xC
  2428. 0000195C  A88A                     syscall    TextSize
  2429. 0000195E  4267                     clr.w      -[A7]
  2430. 00001960  A888                     syscall    TextFace
  2431. 00001962  42A7                     clr.l      -[A7]
  2432. 00001964  4EAD DD90                jsr        [A5 - 0x2270]
  2433. 00001968  3800                     move.w     D4, D0
  2434. 0000196A  302D 135E                move.w     D0, [A5 + 0x135E]
  2435. 0000196E  48C0                     ext.l      D0
  2436. 00001970  0680 0000 0081           addi.l     D0, 0x81
  2437. 00001976  3F00                     move.w     -[A7], D0
  2438. 00001978  A9BA                     syscall    GetString
  2439. 0000197A  205F                     movea.l    A0, [A7]+
  2440. 0000197C  2008                     move.l     D0, A0
  2441. 0000197E  6706                     beq        +0x8 /* 00001986 */
  2442. 00001980  426A 002C                clr.w      [A2 + 0x2C]
  2443. 00001984  6026                     bra        +0x28 /* 000019AC */
  2444. label00001986:
  2445. 00001986  4857                     pea.l      [A7]
  2446. 00001988  302D 135E                move.w     D0, [A5 + 0x135E]
  2447. 0000198C  48C0                     ext.l      D0
  2448. 0000198E  0680 0000 0081           addi.l     D0, 0x81
  2449. 00001994  3F00                     move.w     -[A7], D0
  2450. 00001996  3F3C 0004                move.w     -[A7], 0x4
  2451. 0000199A  4EAD DA4E                jsr        [A5 - 0x25B2]
  2452. 0000199E  554F                     subq.w     A7, 2
  2453. 000019A0  486F 0002                pea.l      [A7 + 0x2]
  2454. 000019A4  A88C                     syscall    StringWidth
  2455. 000019A6  301F                     move.w     D0, [A7]+
  2456. 000019A8  3540 002C                move.w     [A2 + 0x2C], D0
  2457. label000019AC:
  2458. 000019AC  486F 0100                pea.l      [A7 + 0x100]
  2459. 000019B0  42A7                     clr.l      -[A7]
  2460. 000019B2  3F3C 0064                move.w     -[A7], 0x64 /* 'd' */
  2461. 000019B6  3F04                     move.w     -[A7], D4
  2462. 000019B8  A8A7                     syscall    SetRect
  2463. 000019BA  594F                     subq.w     A7, 4
  2464. 000019BC  486F 0104                pea.l      [A7 + 0x104]
  2465. 000019C0  486F 0108                pea.l      [A7 + 0x108]
  2466. 000019C4  A9D2                     syscall    TENew
  2467. 000019C6  205F                     movea.l    A0, [A7]+
  2468. 000019C8  2548 0024                move.l     [A2 + 0x24], A0
  2469. 000019CC  2008                     move.l     D0, A0
  2470. 000019CE  6720                     beq        +0x22 /* 000019F0 */
  2471. 000019D0  4AAD 132A                tst.l      [A5 + 0x132A /* export_609 */]
  2472. 000019D4  670E                     beq        +0x10 /* 000019E4 */
  2473. 000019D6  7694                     moveq.l    D3, 0xFFFFFF94
  2474. 000019D8  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  2475. 000019DC  A9CD                     syscall    TEDispose
  2476. 000019DE  42AA 0024                clr.l      [A2 + 0x24]
  2477. 000019E2  600E                     bra        +0x10 /* 000019F2 */
  2478. label000019E4:
  2479. 000019E4  1F3C 0001                move.b     -[A7], 0x1
  2480. 000019E8  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  2481. 000019EC  A813                     syscall    TEAutoView
  2482. 000019EE  6002                     bra        +0x4 /* 000019F2 */
  2483. label000019F0:
  2484. 000019F0  7694                     moveq.l    D3, 0xFFFFFF94
  2485. label000019F2:
  2486. 000019F2  4EAD DD68                jsr        [A5 - 0x2298]
  2487. 000019F6  3003                     move.w     D0, D3
  2488. 000019F8  4FEF 0108                lea.l      A7, [A7 + 0x108]
  2489. 000019FC  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  2490. 00001A00  4E75                     rts
  2491. 00001A02  594F                     subq.w     A7, 4
  2492. 00001A04  2EAF 0008                move.l     [A7], [A7 + 0x8]
  2493. 00001A08  302F 0012                move.w     D0, [A7 + 0x12]
  2494. 00001A0C  48C0                     ext.l      D0
  2495. 00001A0E  7202                     moveq.l    D1, 0x02
  2496. 00001A10  B081                     cmp.l      D0, D1
  2497. 00001A12  5EC0                     sgt        D0
  2498. 00001A14  4400                     neg.b      D0
  2499. 00001A16  4880                     ext.w      D0
  2500. 00001A18  48C0                     ext.l      D0
  2501. 00001A1A  2F00                     move.l     -[A7], D0
  2502. 00001A1C  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  2503. 00001A20  4EBA 000E                jsr        [PC + 0xE /* 00001A30 */]
  2504. 00001A24  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2505. 00001A28  205F                     movea.l    A0, [A7]+
  2506. 00001A2A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2507. 00001A2E  4ED0                     jmp        [A0]
  2508. fn00001A30:
  2509. 00001A30  4FEF FFF2                lea.l      A7, [A7 - 0xE]
  2510. 00001A34  486F 0006                pea.l      [A7 + 0x6]
  2511. 00001A38  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  2512. 00001A3C  4EBA 0116                jsr        [PC + 0x116 /* 00001B54 */]
  2513. 00001A40  4EAD DD70                jsr        [A5 - 0x2290]
  2514. 00001A44  A89E                     syscall    PenNormal
  2515. 00001A46  4878 0021                push.l     0x21 /* '!' */
  2516. 00001A4A  A862                     syscall    ForeColor
  2517. 00001A4C  4878 001E                push.l     0x1E
  2518. 00001A50  A863                     syscall    BackColor
  2519. 00001A52  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  2520. 00001A56  302F 0014                move.w     D0, [A7 + 0x14]
  2521. 00001A5A  48C0                     ext.l      D0
  2522. 00001A5C  5380                     subq.l     D0, 1
  2523. 00001A5E  3F00                     move.w     -[A7], D0
  2524. 00001A60  A893                     syscall    MoveTo
  2525. 00001A62  302F 0014                move.w     D0, [A7 + 0x14]
  2526. 00001A66  48C0                     ext.l      D0
  2527. 00001A68  5380                     subq.l     D0, 1
  2528. 00001A6A  3F00                     move.w     -[A7], D0
  2529. 00001A6C  302F 0014                move.w     D0, [A7 + 0x14]
  2530. 00001A70  48C0                     ext.l      D0
  2531. 00001A72  5380                     subq.l     D0, 1
  2532. 00001A74  3F00                     move.w     -[A7], D0
  2533. 00001A76  A891                     syscall    LineTo
  2534. 00001A78  4AAF 001E                tst.l      [A7 + 0x1E]
  2535. 00001A7C  504F                     addq.w     A7, 8
  2536. 00001A7E  6614                     bne        +0x16 /* 00001A94 */
  2537. 00001A80  536F 000A                subq.w     [A7 + 0xA], 1
  2538. 00001A84  486F 0006                pea.l      [A7 + 0x6]
  2539. 00001A88  A8A3                     syscall    EraseRect
  2540. 00001A8A  4EAD DD78                jsr        [A5 - 0x2288]
  2541. 00001A8E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2542. 00001A92  4E75                     rts
  2543. label00001A94:
  2544. 00001A94  486D 15F0                pea.l      [A5 + 0x15F0]
  2545. 00001A98  A89D                     syscall    PenPat
  2546. 00001A9A  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  2547. 00001A9E  302F 000C                move.w     D0, [A7 + 0xC]
  2548. 00001AA2  48C0                     ext.l      D0
  2549. 00001AA4  5580                     subq.l     D0, 2
  2550. 00001AA6  3F00                     move.w     -[A7], D0
  2551. 00001AA8  A893                     syscall    MoveTo
  2552. 00001AAA  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  2553. 00001AAE  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  2554. 00001AB2  A891                     syscall    LineTo
  2555. 00001AB4  302F 000C                move.w     D0, [A7 + 0xC]
  2556. 00001AB8  48C0                     ext.l      D0
  2557. 00001ABA  5580                     subq.l     D0, 2
  2558. 00001ABC  3F00                     move.w     -[A7], D0
  2559. 00001ABE  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  2560. 00001AC2  A891                     syscall    LineTo
  2561. 00001AC4  486D 15E8                pea.l      [A5 + 0x15E8]
  2562. 00001AC8  A89D                     syscall    PenPat
  2563. 00001ACA  3F7C 7778 0004           move.w     [A7 + 0x4], 0x7778 /* 'wx' */
  2564. 00001AD0  3F7C 7778 0002           move.w     [A7 + 0x2], 0x7778 /* 'wx' */
  2565. 00001AD6  3EBC 7778                move.w     [A7], 0x7778 /* 'wx' */
  2566. 00001ADA  4857                     pea.l      [A7]
  2567. 00001ADC  AA14                     syscall    RGBForeColor
  2568. 00001ADE  302F 0008                move.w     D0, [A7 + 0x8]
  2569. 00001AE2  48C0                     ext.l      D0
  2570. 00001AE4  5280                     addq.l     D0, 1
  2571. 00001AE6  3F00                     move.w     -[A7], D0
  2572. 00001AE8  302F 000C                move.w     D0, [A7 + 0xC]
  2573. 00001AEC  48C0                     ext.l      D0
  2574. 00001AEE  5580                     subq.l     D0, 2
  2575. 00001AF0  3F00                     move.w     -[A7], D0
  2576. 00001AF2  A893                     syscall    MoveTo
  2577. 00001AF4  302F 000C                move.w     D0, [A7 + 0xC]
  2578. 00001AF8  48C0                     ext.l      D0
  2579. 00001AFA  5380                     subq.l     D0, 1
  2580. 00001AFC  3F00                     move.w     -[A7], D0
  2581. 00001AFE  302F 000C                move.w     D0, [A7 + 0xC]
  2582. 00001B02  48C0                     ext.l      D0
  2583. 00001B04  5580                     subq.l     D0, 2
  2584. 00001B06  3F00                     move.w     -[A7], D0
  2585. 00001B08  A891                     syscall    LineTo
  2586. 00001B0A  302F 000C                move.w     D0, [A7 + 0xC]
  2587. 00001B0E  48C0                     ext.l      D0
  2588. 00001B10  5380                     subq.l     D0, 1
  2589. 00001B12  3F00                     move.w     -[A7], D0
  2590. 00001B14  302F 0008                move.w     D0, [A7 + 0x8]
  2591. 00001B18  48C0                     ext.l      D0
  2592. 00001B1A  5280                     addq.l     D0, 1
  2593. 00001B1C  3F00                     move.w     -[A7], D0
  2594. 00001B1E  A891                     syscall    LineTo
  2595. 00001B20  526F 0008                addq.w     [A7 + 0x8], 1
  2596. 00001B24  526F 0006                addq.w     [A7 + 0x6], 1
  2597. 00001B28  536F 000C                subq.w     [A7 + 0xC], 1
  2598. 00001B2C  556F 000A                subq.w     [A7 + 0xA], 2
  2599. 00001B30  3F7C DDDE 0004           move.w     [A7 + 0x4], 0xDDDE
  2600. 00001B36  3F7C DDDE 0002           move.w     [A7 + 0x2], 0xDDDE
  2601. 00001B3C  3EBC DDDE                move.w     [A7], 0xDDDE
  2602. 00001B40  4857                     pea.l      [A7]
  2603. 00001B42  AA14                     syscall    RGBForeColor
  2604. 00001B44  486F 0006                pea.l      [A7 + 0x6]
  2605. 00001B48  A8A2                     syscall    PaintRect
  2606. 00001B4A  4EAD DD78                jsr        [A5 - 0x2288]
  2607. 00001B4E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  2608. 00001B52  4E75                     rts
  2609. fn00001B54:
  2610. 00001B54  206F 0004                movea.l    A0, [A7 + 0x4]
  2611. 00001B58  226F 0008                movea.l    A1, [A7 + 0x8]
  2612. 00001B5C  22A8 0040                move.l     [A1], [A0 + 0x40]
  2613. 00001B60  2368 0044 0004           move.l     [A1 + 0x4], [A0 + 0x44]
  2614. 00001B66  4E75                     rts
  2615. fn00001B68:
  2616. 00001B68  2F0A                     move.l     -[A7], A2
  2617. 00001B6A  514F                     subq.w     A7, 8
  2618. 00001B6C  206F 0010                movea.l    A0, [A7 + 0x10]
  2619. 00001B70  2050                     movea.l    A0, [A0]
  2620. 00001B72  2468 0024                movea.l    A2, [A0 + 0x24]
  2621. 00001B76  200A                     move.l     D0, A2
  2622. 00001B78  672C                     beq        +0x2E /* 00001BA6 */
  2623. 00001B7A  2052                     movea.l    A0, [A2]
  2624. 00001B7C  2EA8 0008                move.l     [A7], [A0 + 0x8]
  2625. 00001B80  2F68 000C 0004           move.l     [A7 + 0x4], [A0 + 0xC]
  2626. 00001B86  4857                     pea.l      [A7]
  2627. 00001B88  2F3C FFFE FFFE           move.l     -[A7], 0xFFFEFFFE
  2628. 00001B8E  A8A9                     syscall    InsetRect
  2629. 00001B90  4857                     pea.l      [A7]
  2630. 00001B92  A8A3                     syscall    EraseRect
  2631. 00001B94  4857                     pea.l      [A7]
  2632. 00001B96  4878 FFFF                push.l     0xFFFF
  2633. 00001B9A  A8A9                     syscall    InsetRect
  2634. 00001B9C  4857                     pea.l      [A7]
  2635. 00001B9E  A8A1                     syscall    FrameRect
  2636. 00001BA0  4857                     pea.l      [A7]
  2637. 00001BA2  2F0A                     move.l     -[A7], A2
  2638. 00001BA4  A9D3                     syscall    TEUpdate
  2639. label00001BA6:
  2640. 00001BA6  504F                     addq.w     A7, 8
  2641. 00001BA8  245F                     movea.l    A2, [A7]+
  2642. 00001BAA  4E75                     rts
  2643. fn00001BAC:
  2644. 00001BAC  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  2645. 00001BB0  4FEF FEF0                lea.l      A7, [A7 - 0x110]
  2646. 00001BB4  286F 012C                movea.l    A4, [A7 + 0x12C]
  2647. 00001BB8  246F 0130                movea.l    A2, [A7 + 0x130]
  2648. 00001BBC  4AAC 0024                tst.l      [A4 + 0x24]
  2649. 00001BC0  6706                     beq        +0x8 /* 00001BC8 */
  2650. 00001BC2  4AAA 0008                tst.l      [A2 + 0x8]
  2651. 00001BC6  660A                     bne        +0xC /* 00001BD2 */
  2652. label00001BC8:
  2653. 00001BC8  4FEF 0110                lea.l      A7, [A7 + 0x110]
  2654. 00001BCC  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  2655. 00001BD0  4E75                     rts
  2656. label00001BD2:
  2657. 00001BD2  266C 0024                movea.l    A3, [A4 + 0x24]
  2658. 00001BD6  2053                     movea.l    A0, [A3]
  2659. 00001BD8  3628 003C                move.w     D3, [A0 + 0x3C]
  2660. 00001BDC  594F                     subq.w     A7, 4
  2661. 00001BDE  3F03                     move.w     -[A7], D3
  2662. 00001BE0  2F0B                     move.l     -[A7], A3
  2663. 00001BE2  3F3C 0008                move.w     -[A7], 0x8
  2664. 00001BE6  A83D                     syscall    TEDispatch
  2665. 00001BE8  2E9F                     move.l     [A7], [A7]+
  2666. 00001BEA  2F57 000C                move.l     [A7 + 0xC], [A7]
  2667. 00001BEE  4EAD DD60                jsr        [A5 - 0x22A0]
  2668. 00001BF2  4267                     clr.w      -[A7]
  2669. 00001BF4  A887                     syscall    TextFont
  2670. 00001BF6  3F3C 000C                move.w     -[A7], 0xC
  2671. 00001BFA  A88A                     syscall    TextSize
  2672. 00001BFC  4267                     clr.w      -[A7]
  2673. 00001BFE  A888                     syscall    TextFace
  2674. 00001C00  206C 0024                movea.l    A0, [A4 + 0x24]
  2675. 00001C04  2650                     movea.l    A3, [A0]
  2676. 00001C06  2F6B 0008 0004           move.l     [A7 + 0x4], [A3 + 0x8]
  2677. 00001C0C  2F6B 000C 0008           move.l     [A7 + 0x8], [A3 + 0xC]
  2678. 00001C12  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  2679. 00001C16  302B 0018                move.w     D0, [A3 + 0x18]
  2680. 00001C1A  48C0                     ext.l      D0
  2681. 00001C1C  322F 000E                move.w     D1, [A7 + 0xE]
  2682. 00001C20  48C1                     ext.l      D1
  2683. 00001C22  9280                     sub.l      D1, D0
  2684. 00001C24  302B 001A                move.w     D0, [A3 + 0x1A]
  2685. 00001C28  48C0                     ext.l      D0
  2686. 00001C2A  D081                     add.l      D0, D1
  2687. 00001C2C  3F00                     move.w     -[A7], D0
  2688. 00001C2E  A893                     syscall    MoveTo
  2689. 00001C30  486F 0004                pea.l      [A7 + 0x4]
  2690. 00001C34  4EAD DD50                jsr        [A5 - 0x22B0]
  2691. 00001C38  282A 001C                move.l     D4, [A2 + 0x1C]
  2692. 00001C3C  206A 0008                movea.l    A0, [A2 + 0x8]
  2693. 00001C40  A029                     syscall    HLock
  2694. 00001C42  3003                     move.w     D0, D3
  2695. 00001C44  48C0                     ext.l      D0
  2696. 00001C46  2204                     move.l     D1, D4
  2697. 00001C48  9280                     sub.l      D1, D0
  2698. 00001C4A  2F01                     move.l     -[A7], D1
  2699. 00001C4C  206A 0008                movea.l    A0, [A2 + 0x8]
  2700. 00001C50  2250                     movea.l    A1, [A0]
  2701. 00001C52  4871 3000                pea.l      [A1 + D3.w]
  2702. 00001C56  4EAD DE38                jsr        [A5 - 0x21C8]
  2703. 00001C5A  4AAA 0024                tst.l      [A2 + 0x24]
  2704. 00001C5E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2705. 00001C62  6720                     beq        +0x22 /* 00001C84 */
  2706. 00001C64  422F 0010                clr.b      [A7 + 0x10]
  2707. 00001C68  486F 0010                pea.l      [A7 + 0x10]
  2708. 00001C6C  4EAD DC34                jsr        [A5 - 0x23CC]
  2709. 00001C70  7000                     moveq.l    D0, 0x00
  2710. 00001C72  102F 0014                move.b     D0, [A7 + 0x14]
  2711. 00001C76  2F00                     move.l     -[A7], D0
  2712. 00001C78  486F 0019                pea.l      [A7 + 0x19]
  2713. 00001C7C  4EAD DE38                jsr        [A5 - 0x21C8]
  2714. 00001C80  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2715. label00001C84:
  2716. 00001C84  206A 0008                movea.l    A0, [A2 + 0x8]
  2717. 00001C88  A02A                     syscall    HUnlock
  2718. 00001C8A  4EAD DD58                jsr        [A5 - 0x22A8]
  2719. 00001C8E  4EAD DD68                jsr        [A5 - 0x2298]
  2720. 00001C92  4FEF 0110                lea.l      A7, [A7 + 0x110]
  2721. 00001C96  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  2722. 00001C9A  4E75                     rts
  2723. fn00001C9C:
  2724. 00001C9C  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  2725. 00001CA0  4FEF FEFE                lea.l      A7, [A7 - 0x102]
  2726. 00001CA4  286F 011A                movea.l    A4, [A7 + 0x11A]
  2727. 00001CA8  266F 011E                movea.l    A3, [A7 + 0x11E]
  2728. 00001CAC  4AAB 0024                tst.l      [A3 + 0x24]
  2729. 00001CB0  6700 009E                beq        +0xA0 /* 00001D50 */
  2730. 00001CB4  246B 0024                movea.l    A2, [A3 + 0x24]
  2731. 00001CB8  2452                     movea.l    A2, [A2]
  2732. 00001CBA  508A                     addq.l     A2, 8
  2733. 00001CBC  362A 0002                move.w     D3, [A2 + 0x2]
  2734. 00001CC0  3812                     move.w     D4, [A2]
  2735. 00001CC2  4EAD DD60                jsr        [A5 - 0x22A0]
  2736. 00001CC6  4267                     clr.w      -[A7]
  2737. 00001CC8  A888                     syscall    TextFace
  2738. 00001CCA  594F                     subq.w     A7, 4
  2739. 00001CCC  302D 135E                move.w     D0, [A5 + 0x135E]
  2740. 00001CD0  48C0                     ext.l      D0
  2741. 00001CD2  0680 0000 0081           addi.l     D0, 0x81
  2742. 00001CD8  3F00                     move.w     -[A7], D0
  2743. 00001CDA  A9BA                     syscall    GetString
  2744. 00001CDC  205F                     movea.l    A0, [A7]+
  2745. 00001CDE  2448                     movea.l    A2, A0
  2746. 00001CE0  200A                     move.l     D0, A2
  2747. 00001CE2  6716                     beq        +0x18 /* 00001CFA */
  2748. 00001CE4  206C 0048                movea.l    A0, [A4 + 0x48]
  2749. 00001CE8  2F28 0018                move.l     -[A7], [A0 + 0x18]
  2750. 00001CEC  486D E6E0                pea.l      [A5 - 0x1920]
  2751. 00001CF0  2F0C                     move.l     -[A7], A4
  2752. 00001CF2  42A7                     clr.l      -[A7]
  2753. 00001CF4  4EAD DE28                jsr        [A5 - 0x21D8]
  2754. 00001CF8  6052                     bra        +0x54 /* 00001D4C */
  2755. label00001CFA:
  2756. 00001CFA  4267                     clr.w      -[A7]
  2757. 00001CFC  A887                     syscall    TextFont
  2758. 00001CFE  3F3C 000C                move.w     -[A7], 0xC
  2759. 00001D02  A88A                     syscall    TextSize
  2760. 00001D04  4857                     pea.l      [A7]
  2761. 00001D06  4EAD DD90                jsr        [A5 - 0x2270]
  2762. 00001D0A  486F 0006                pea.l      [A7 + 0x6]
  2763. 00001D0E  302D 135E                move.w     D0, [A5 + 0x135E]
  2764. 00001D12  48C0                     ext.l      D0
  2765. 00001D14  0680 0000 0081           addi.l     D0, 0x81
  2766. 00001D1A  3F00                     move.w     -[A7], D0
  2767. 00001D1C  3F3C 0004                move.w     -[A7], 0x4
  2768. 00001D20  4EAD DA4E                jsr        [A5 - 0x25B2]
  2769. 00001D24  302B 002C                move.w     D0, [A3 + 0x2C]
  2770. 00001D28  48C0                     ext.l      D0
  2771. 00001D2A  3203                     move.w     D1, D3
  2772. 00001D2C  48C1                     ext.l      D1
  2773. 00001D2E  9280                     sub.l      D1, D0
  2774. 00001D30  5D81                     subq.l     D1, 6
  2775. 00001D32  3F01                     move.w     -[A7], D1
  2776. 00001D34  302F 0006                move.w     D0, [A7 + 0x6]
  2777. 00001D38  48C0                     ext.l      D0
  2778. 00001D3A  3204                     move.w     D1, D4
  2779. 00001D3C  48C1                     ext.l      D1
  2780. 00001D3E  D280                     add.l      D1, D0
  2781. 00001D40  3F01                     move.w     -[A7], D1
  2782. 00001D42  A893                     syscall    MoveTo
  2783. 00001D44  486F 0006                pea.l      [A7 + 0x6]
  2784. 00001D48  A884                     syscall    DrawString
  2785. 00001D4A  584F                     addq.w     A7, 4
  2786. label00001D4C:
  2787. 00001D4C  4EAD DD68                jsr        [A5 - 0x2298]
  2788. label00001D50:
  2789. 00001D50  4FEF 0102                lea.l      A7, [A7 + 0x102]
  2790. 00001D54  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  2791. 00001D58  4E75                     rts
  2792. fn00001D5A:
  2793. 00001D5A  48E7 1030                movem.l    -[A7], D3,A2,A3
  2794. 00001D5E  1F3C 000C                move.b     -[A7], 0xC
  2795. 00001D62  206F 0012                movea.l    A0, [A7 + 0x12]
  2796. 00001D66  2F28 0048                move.l     -[A7], [A0 + 0x48]
  2797. 00001D6A  4EBA 371E                jsr        [PC + 0x371E /* 0000548A */]
  2798. 00001D6E  2648                     movea.l    A3, A0
  2799. 00001D70  2008                     move.l     D0, A0
  2800. 00001D72  5C4F                     addq.w     A7, 6
  2801. 00001D74  673A                     beq        +0x3C /* 00001DB0 */
  2802. 00001D76  594F                     subq.w     A7, 4
  2803. 00001D78  2F0B                     move.l     -[A7], A3
  2804. 00001D7A  4EAD D9AC                jsr        [A5 - 0x2654]
  2805. 00001D7E  201F                     move.l     D0, [A7]+
  2806. 00001D80  223C 0000 0112           move.l     D1, 0x112
  2807. 00001D86  4EAD D8FE                jsr        [A5 - 0x2702]
  2808. 00001D8A  2600                     move.l     D3, D0
  2809. 00001D8C  204B                     movea.l    A0, A3
  2810. 00001D8E  A029                     syscall    HLock
  2811. 00001D90  2453                     movea.l    A2, [A3]
  2812. 00001D92  6010                     bra        +0x12 /* 00001DA4 */
  2813. label00001D94:
  2814. 00001D94  4AAA 0100                tst.l      [A2 + 0x100]
  2815. 00001D98  6706                     beq        +0x8 /* 00001DA0 */
  2816. 00001D9A  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  2817. 00001D9E  A96D                     syscall    Draw1Control
  2818. label00001DA0:
  2819. 00001DA0  45EA 0112                lea.l      A2, [A2 + 0x112]
  2820. label00001DA4:
  2821. 00001DA4  2003                     move.l     D0, D3
  2822. 00001DA6  5383                     subq.l     D3, 1
  2823. 00001DA8  4A80                     tst.l      D0
  2824. 00001DAA  66E8                     bne        -0x16 /* 00001D94 */
  2825. 00001DAC  204B                     movea.l    A0, A3
  2826. 00001DAE  A02A                     syscall    HUnlock
  2827. label00001DB0:
  2828. 00001DB0  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  2829. 00001DB4  4E75                     rts
  2830. 00001DB6  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  2831. 00001DBA  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  2832. 00001DBE  A95D                     syscall    HiliteControl
  2833. 00001DC0  4E75                     rts
  2834. fn00001DC2:
  2835. 00001DC2  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  2836. 00001DC6  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  2837. 00001DCA  2C6F 0028                movea.l    A6, [A7 + 0x28]
  2838. 00001DCE  246F 002C                movea.l    A2, [A7 + 0x2C]
  2839. 00001DD2  262F 0030                move.l     D3, [A7 + 0x30]
  2840. 00001DD6  266F 0034                movea.l    A3, [A7 + 0x34]
  2841. 00001DDA  206E 0048                movea.l    A0, [A6 + 0x48]
  2842. 00001DDE  4A28 006F                tst.b      [A0 + 0x6F]
  2843. 00001DE2  6602                     bne        +0x4 /* 00001DE6 */
  2844. 00001DE4  7601                     moveq.l    D3, 0x01
  2845. label00001DE6:
  2846. 00001DE6  4AAA 0020                tst.l      [A2 + 0x20]
  2847. 00001DEA  6720                     beq        +0x22 /* 00001E0C */
  2848. 00001DEC  4A83                     tst.l      D3
  2849. 00001DEE  660C                     bne        +0xE /* 00001DFC */
  2850. 00001DF0  4EAD DBE6                jsr        [A5 - 0x241A]
  2851. 00001DF4  4A80                     tst.l      D0
  2852. 00001DF6  6704                     beq        +0x6 /* 00001DFC */
  2853. 00001DF8  7000                     moveq.l    D0, 0x00
  2854. 00001DFA  6006                     bra        +0x8 /* 00001E02 */
  2855. label00001DFC:
  2856. 00001DFC  203C 0000 00FF           move.l     D0, 0xFF
  2857. label00001E02:
  2858. 00001E02  3F00                     move.w     -[A7], D0
  2859. 00001E04  2F2A 0020                move.l     -[A7], [A2 + 0x20]
  2860. 00001E08  4E93                     jsr        [A3]
  2861. 00001E0A  5C4F                     addq.w     A7, 6
  2862. label00001E0C:
  2863. 00001E0C  4AAA 0014                tst.l      [A2 + 0x14]
  2864. 00001E10  6718                     beq        +0x1A /* 00001E2A */
  2865. 00001E12  4A83                     tst.l      D3
  2866. 00001E14  6604                     bne        +0x6 /* 00001E1A */
  2867. 00001E16  7000                     moveq.l    D0, 0x00
  2868. 00001E18  6006                     bra        +0x8 /* 00001E20 */
  2869. label00001E1A:
  2870. 00001E1A  203C 0000 00FF           move.l     D0, 0xFF
  2871. label00001E20:
  2872. 00001E20  3F00                     move.w     -[A7], D0
  2873. 00001E22  2F2A 0014                move.l     -[A7], [A2 + 0x14]
  2874. 00001E26  4E93                     jsr        [A3]
  2875. 00001E28  5C4F                     addq.w     A7, 6
  2876. label00001E2A:
  2877. 00001E2A  486F 0008                pea.l      [A7 + 0x8]
  2878. 00001E2E  486F 0004                pea.l      [A7 + 0x4]
  2879. 00001E32  486F 000C                pea.l      [A7 + 0xC]
  2880. 00001E36  2F2E 0048                move.l     -[A7], [A6 + 0x48]
  2881. 00001E3A  4EBA 399A                jsr        [PC + 0x399A /* 000057D6 */]
  2882. 00001E3E  1F3C 0006                move.b     -[A7], 0x6
  2883. 00001E42  2F2E 0048                move.l     -[A7], [A6 + 0x48]
  2884. 00001E46  4EBA 3642                jsr        [PC + 0x3642 /* 0000548A */]
  2885. 00001E4A  5C4F                     addq.w     A7, 6
  2886. 00001E4C  3F10                     move.w     -[A7], [A0]
  2887. 00001E4E  4EBA 1674                jsr        [PC + 0x1674 /* 000034C4 */]
  2888. 00001E52  7202                     moveq.l    D1, 0x02
  2889. 00001E54  C081                     and.l      D0, D1
  2890. 00001E56  4FEF 0012                lea.l      A7, [A7 + 0x12]
  2891. 00001E5A  6704                     beq        +0x6 /* 00001E60 */
  2892. 00001E5C  42AF 0008                clr.l      [A7 + 0x8]
  2893. label00001E60:
  2894. 00001E60  4AAA 0018                tst.l      [A2 + 0x18]
  2895. 00001E64  671E                     beq        +0x20 /* 00001E84 */
  2896. 00001E66  4A83                     tst.l      D3
  2897. 00001E68  660A                     bne        +0xC /* 00001E74 */
  2898. 00001E6A  4AAF 0004                tst.l      [A7 + 0x4]
  2899. 00001E6E  6704                     beq        +0x6 /* 00001E74 */
  2900. 00001E70  7000                     moveq.l    D0, 0x00
  2901. 00001E72  6006                     bra        +0x8 /* 00001E7A */
  2902. label00001E74:
  2903. 00001E74  203C 0000 00FF           move.l     D0, 0xFF
  2904. label00001E7A:
  2905. 00001E7A  3F00                     move.w     -[A7], D0
  2906. 00001E7C  2F2A 0018                move.l     -[A7], [A2 + 0x18]
  2907. 00001E80  4E93                     jsr        [A3]
  2908. 00001E82  5C4F                     addq.w     A7, 6
  2909. label00001E84:
  2910. 00001E84  4AAA 001C                tst.l      [A2 + 0x1C]
  2911. 00001E88  671C                     beq        +0x1E /* 00001EA6 */
  2912. 00001E8A  4A83                     tst.l      D3
  2913. 00001E8C  6608                     bne        +0xA /* 00001E96 */
  2914. 00001E8E  4A97                     tst.l      [A7]
  2915. 00001E90  6704                     beq        +0x6 /* 00001E96 */
  2916. 00001E92  7000                     moveq.l    D0, 0x00
  2917. 00001E94  6006                     bra        +0x8 /* 00001E9C */
  2918. label00001E96:
  2919. 00001E96  203C 0000 00FF           move.l     D0, 0xFF
  2920. label00001E9C:
  2921. 00001E9C  3F00                     move.w     -[A7], D0
  2922. 00001E9E  2F2A 001C                move.l     -[A7], [A2 + 0x1C]
  2923. 00001EA2  4E93                     jsr        [A3]
  2924. 00001EA4  5C4F                     addq.w     A7, 6
  2925. label00001EA6:
  2926. 00001EA6  4AAA 0010                tst.l      [A2 + 0x10]
  2927. 00001EAA  671E                     beq        +0x20 /* 00001ECA */
  2928. 00001EAC  4A83                     tst.l      D3
  2929. 00001EAE  660A                     bne        +0xC /* 00001EBA */
  2930. 00001EB0  4AAF 0008                tst.l      [A7 + 0x8]
  2931. 00001EB4  6604                     bne        +0x6 /* 00001EBA */
  2932. 00001EB6  7000                     moveq.l    D0, 0x00
  2933. 00001EB8  6006                     bra        +0x8 /* 00001EC0 */
  2934. label00001EBA:
  2935. 00001EBA  203C 0000 00FF           move.l     D0, 0xFF
  2936. label00001EC0:
  2937. 00001EC0  3F00                     move.w     -[A7], D0
  2938. 00001EC2  2F2A 0010                move.l     -[A7], [A2 + 0x10]
  2939. 00001EC6  4E93                     jsr        [A3]
  2940. 00001EC8  5C4F                     addq.w     A7, 6
  2941. label00001ECA:
  2942. 00001ECA  1F3C 000C                move.b     -[A7], 0xC
  2943. 00001ECE  2F2E 0048                move.l     -[A7], [A6 + 0x48]
  2944. 00001ED2  4EBA 35B6                jsr        [PC + 0x35B6 /* 0000548A */]
  2945. 00001ED6  2848                     movea.l    A4, A0
  2946. 00001ED8  2008                     move.l     D0, A0
  2947. 00001EDA  5C4F                     addq.w     A7, 6
  2948. 00001EDC  676C                     beq        +0x6E /* 00001F4A */
  2949. 00001EDE  594F                     subq.w     A7, 4
  2950. 00001EE0  2F0C                     move.l     -[A7], A4
  2951. 00001EE2  4EAD D9AC                jsr        [A5 - 0x2654]
  2952. 00001EE6  201F                     move.l     D0, [A7]+
  2953. 00001EE8  223C 0000 0112           move.l     D1, 0x112
  2954. 00001EEE  4EAD D8FE                jsr        [A5 - 0x2702]
  2955. 00001EF2  2800                     move.l     D4, D0
  2956. 00001EF4  204C                     movea.l    A0, A4
  2957. 00001EF6  A029                     syscall    HLock
  2958. 00001EF8  2454                     movea.l    A2, [A4]
  2959. 00001EFA  6042                     bra        +0x44 /* 00001F3E */
  2960. label00001EFC:
  2961. 00001EFC  4AAA 0100                tst.l      [A2 + 0x100]
  2962. 00001F00  6738                     beq        +0x3A /* 00001F3A */
  2963. 00001F02  0C2A 0005 0110           cmpi.b     [A2 + 0x110], 0x5
  2964. 00001F08  6710                     beq        +0x12 /* 00001F1A */
  2965. 00001F0A  0C2A 0006 0110           cmpi.b     [A2 + 0x110], 0x6
  2966. 00001F10  6708                     beq        +0xA /* 00001F1A */
  2967. 00001F12  0C2A 0007 0110           cmpi.b     [A2 + 0x110], 0x7
  2968. 00001F18  6620                     bne        +0x22 /* 00001F3A */
  2969. label00001F1A:
  2970. 00001F1A  4A83                     tst.l      D3
  2971. 00001F1C  660C                     bne        +0xE /* 00001F2A */
  2972. 00001F1E  082A 0007 010C           btst.b     [A2 + 0x10C], 0x7
  2973. 00001F24  6704                     beq        +0x6 /* 00001F2A */
  2974. 00001F26  7000                     moveq.l    D0, 0x00
  2975. 00001F28  6006                     bra        +0x8 /* 00001F30 */
  2976. label00001F2A:
  2977. 00001F2A  203C 0000 00FF           move.l     D0, 0xFF
  2978. label00001F30:
  2979. 00001F30  3F00                     move.w     -[A7], D0
  2980. 00001F32  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  2981. 00001F36  4E93                     jsr        [A3]
  2982. 00001F38  5C4F                     addq.w     A7, 6
  2983. label00001F3A:
  2984. 00001F3A  45EA 0112                lea.l      A2, [A2 + 0x112]
  2985. label00001F3E:
  2986. 00001F3E  2004                     move.l     D0, D4
  2987. 00001F40  5384                     subq.l     D4, 1
  2988. 00001F42  4A80                     tst.l      D0
  2989. 00001F44  66B6                     bne        -0x48 /* 00001EFC */
  2990. 00001F46  204C                     movea.l    A0, A4
  2991. 00001F48  A02A                     syscall    HUnlock
  2992. label00001F4A:
  2993. 00001F4A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  2994. 00001F4E  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  2995. 00001F52  4E75                     rts
  2996. fn00001F54:
  2997. 00001F54  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  2998. 00001F58  286F 0018                movea.l    A4, [A7 + 0x18]
  2999. 00001F5C  266F 0020                movea.l    A3, [A7 + 0x20]
  3000. 00001F60  554F                     subq.w     A7, 2
  3001. 00001F62  2F0B                     move.l     -[A7], A3
  3002. 00001F64  2F2F 002A                move.l     -[A7], [A7 + 0x2A]
  3003. 00001F68  4878 FFFF                push.l     0xFFFF
  3004. 00001F6C  A968                     syscall    TrackControl
  3005. 00001F6E  301F                     move.w     D0, [A7]+
  3006. 00001F70  0C40 000A                cmpi.w     D0, 0xA /* '\n' */
  3007. 00001F74  6656                     bne        +0x58 /* 00001FCC */
  3008. 00001F76  1F3C 000C                move.b     -[A7], 0xC
  3009. 00001F7A  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  3010. 00001F7E  4EBA 350A                jsr        [PC + 0x350A /* 0000548A */]
  3011. 00001F82  2C48                     movea.l    A6, A0
  3012. 00001F84  2008                     move.l     D0, A0
  3013. 00001F86  5C4F                     addq.w     A7, 6
  3014. 00001F88  6742                     beq        +0x44 /* 00001FCC */
  3015. 00001F8A  594F                     subq.w     A7, 4
  3016. 00001F8C  2F0E                     move.l     -[A7], A6
  3017. 00001F8E  4EAD D9AC                jsr        [A5 - 0x2654]
  3018. 00001F92  201F                     move.l     D0, [A7]+
  3019. 00001F94  223C 0000 0112           move.l     D1, 0x112
  3020. 00001F9A  4EAD D8FE                jsr        [A5 - 0x2702]
  3021. 00001F9E  2600                     move.l     D3, D0
  3022. 00001FA0  2456                     movea.l    A2, [A6]
  3023. 00001FA2  6020                     bra        +0x22 /* 00001FC4 */
  3024. label00001FA4:
  3025. 00001FA4  B7EA 0100                cmpa.l     A3, [A2 + 0x100]
  3026. 00001FA8  6616                     bne        +0x18 /* 00001FC0 */
  3027. 00001FAA  42A7                     clr.l      -[A7]
  3028. 00001FAC  4227                     clr.b      -[A7]
  3029. 00001FAE  2F2A 0104                move.l     -[A7], [A2 + 0x104]
  3030. 00001FB2  2F2C 0048                move.l     -[A7], [A4 + 0x48]
  3031. 00001FB6  4EAD E978                jsr        [A5 - 0x1688]
  3032. 00001FBA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3033. 00001FBE  600C                     bra        +0xE /* 00001FCC */
  3034. label00001FC0:
  3035. 00001FC0  45EA 0112                lea.l      A2, [A2 + 0x112]
  3036. label00001FC4:
  3037. 00001FC4  2003                     move.l     D0, D3
  3038. 00001FC6  5383                     subq.l     D3, 1
  3039. 00001FC8  4A80                     tst.l      D0
  3040. 00001FCA  66D8                     bne        -0x26 /* 00001FA4 */
  3041. label00001FCC:
  3042. 00001FCC  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  3043. 00001FD0  4E75                     rts
  3044. fn00001FD2:
  3045. 00001FD2  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  3046. 00001FD6  266F 001C                movea.l    A3, [A7 + 0x1C]
  3047. 00001FDA  4AAB 0024                tst.l      [A3 + 0x24]
  3048. 00001FDE  6706                     beq        +0x8 /* 00001FE6 */
  3049. 00001FE0  2F2B 0024                move.l     -[A7], [A3 + 0x24]
  3050. 00001FE4  A9CD                     syscall    TEDispose
  3051. label00001FE6:
  3052. 00001FE6  4AAB 0004                tst.l      [A3 + 0x4]
  3053. 00001FEA  6706                     beq        +0x8 /* 00001FF2 */
  3054. 00001FEC  2F2B 0004                move.l     -[A7], [A3 + 0x4]
  3055. 00001FF0  A8D9                     syscall    DisposRgn/DisposeRgn
  3056. label00001FF2:
  3057. 00001FF2  1F3C 000C                move.b     -[A7], 0xC
  3058. 00001FF6  206F 001A                movea.l    A0, [A7 + 0x1A]
  3059. 00001FFA  2F28 0048                move.l     -[A7], [A0 + 0x48]
  3060. 00001FFE  4EBA 348A                jsr        [PC + 0x348A /* 0000548A */]
  3061. 00002002  2848                     movea.l    A4, A0
  3062. 00002004  2008                     move.l     D0, A0
  3063. 00002006  5C4F                     addq.w     A7, 6
  3064. 00002008  6752                     beq        +0x54 /* 0000205C */
  3065. 0000200A  594F                     subq.w     A7, 4
  3066. 0000200C  2F0C                     move.l     -[A7], A4
  3067. 0000200E  4EAD D9AC                jsr        [A5 - 0x2654]
  3068. 00002012  201F                     move.l     D0, [A7]+
  3069. 00002014  223C 0000 0112           move.l     D1, 0x112
  3070. 0000201A  4EAD D8FE                jsr        [A5 - 0x2702]
  3071. 0000201E  2800                     move.l     D4, D0
  3072. 00002020  2F0C                     move.l     -[A7], A4
  3073. 00002022  4EAD DD80                jsr        [A5 - 0x2280]
  3074. 00002026  2448                     movea.l    A2, A0
  3075. 00002028  7600                     moveq.l    D3, 0x00
  3076. 0000202A  584F                     addq.w     A7, 4
  3077. 0000202C  6022                     bra        +0x24 /* 00002050 */
  3078. label0000202E:
  3079. 0000202E  4AAA 0100                tst.l      [A2 + 0x100]
  3080. 00002032  6716                     beq        +0x18 /* 0000204A */
  3081. 00002034  42A7                     clr.l      -[A7]
  3082. 00002036  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  3083. 0000203A  4EAD E920                jsr        [A5 - 0x16E0]
  3084. 0000203E  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  3085. 00002042  A955                     syscall    DisposeControl
  3086. 00002044  42AA 0100                clr.l      [A2 + 0x100]
  3087. 00002048  504F                     addq.w     A7, 8
  3088. label0000204A:
  3089. 0000204A  5283                     addq.l     D3, 1
  3090. 0000204C  45EA 0112                lea.l      A2, [A2 + 0x112]
  3091. label00002050:
  3092. 00002050  B684                     cmp.l      D3, D4
  3093. 00002052  6DDA                     blt        -0x24 /* 0000202E */
  3094. 00002054  2F0C                     move.l     -[A7], A4
  3095. 00002056  4EAD DD88                jsr        [A5 - 0x2278]
  3096. 0000205A  584F                     addq.w     A7, 4
  3097. label0000205C:
  3098. 0000205C  4A93                     tst.l      [A3]
  3099. 0000205E  6704                     beq        +0x6 /* 00002064 */
  3100. 00002060  2053                     movea.l    A0, [A3]
  3101. 00002062  A023                     syscall    DisposHandle/DisposeHandle
  3102. label00002064:
  3103. 00002064  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  3104. 00002068  4E75                     rts
  3105. fn0000206A:
  3106. 0000206A  48E7 1030                movem.l    -[A7], D3,A2,A3
  3107. 0000206E  4FEF FFD4                lea.l      A7, [A7 - 0x2C]
  3108. 00002072  266F 0040                movea.l    A3, [A7 + 0x40]
  3109. 00002076  246F 0044                movea.l    A2, [A7 + 0x44]
  3110. 0000207A  7600                     moveq.l    D3, 0x00
  3111. 0000207C  4AAB 0024                tst.l      [A3 + 0x24]
  3112. 00002080  6704                     beq        +0x6 /* 00002086 */
  3113. 00002082  200A                     move.l     D0, A2
  3114. 00002084  660C                     bne        +0xE /* 00002092 */
  3115. label00002086:
  3116. 00002086  7000                     moveq.l    D0, 0x00
  3117. 00002088  4FEF 002C                lea.l      A7, [A7 + 0x2C]
  3118. 0000208C  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3119. 00002090  4E75                     rts
  3120. label00002092:
  3121. 00002092  4857                     pea.l      [A7]
  3122. 00002094  486F 000C                pea.l      [A7 + 0xC]
  3123. 00002098  486F 000C                pea.l      [A7 + 0xC]
  3124. 0000209C  2F0A                     move.l     -[A7], A2
  3125. 0000209E  206B 0024                movea.l    A0, [A3 + 0x24]
  3126. 000020A2  2050                     movea.l    A0, [A0]
  3127. 000020A4  2F28 003E                move.l     -[A7], [A0 + 0x3E]
  3128. 000020A8  4EAD E9F8                jsr        [A5 - 0x1608]
  3129. 000020AC  4AAF 0018                tst.l      [A7 + 0x18]
  3130. 000020B0  4FEF 0014                lea.l      A7, [A7 + 0x14]
  3131. 000020B4  6706                     beq        +0x8 /* 000020BC */
  3132. 000020B6  45EF 0008                lea.l      A2, [A7 + 0x8]
  3133. 000020BA  6002                     bra        +0x4 /* 000020BE */
  3134. label000020BC:
  3135. 000020BC  95CA                     sub.l      A2, A2
  3136. label000020BE:
  3137. 000020BE  2F03                     move.l     -[A7], D3
  3138. 000020C0  2F0A                     move.l     -[A7], A2
  3139. 000020C2  206F 0044                movea.l    A0, [A7 + 0x44]
  3140. 000020C6  2F28 0048                move.l     -[A7], [A0 + 0x48]
  3141. 000020CA  4EAD EA00                jsr        [A5 - 0x1600]
  3142. 000020CE  206F 0054                movea.l    A0, [A7 + 0x54]
  3143. 000020D2  4AA8 0008                tst.l      [A0 + 0x8]
  3144. 000020D6  56C0                     sne        D0
  3145. 000020D8  4400                     neg.b      D0
  3146. 000020DA  4880                     ext.w      D0
  3147. 000020DC  48C0                     ext.l      D0
  3148. 000020DE  4FEF 0038                lea.l      A7, [A7 + 0x38]
  3149. 000020E2  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3150. 000020E6  4E75                     rts
  3151. fn000020E8:
  3152. 000020E8  206F 0008                movea.l    A0, [A7 + 0x8]
  3153. 000020EC  4AA8 0024                tst.l      [A0 + 0x24]
  3154. 000020F0  6732                     beq        +0x34 /* 00002124 */
  3155. 000020F2  4878 0001                push.l     0x1
  3156. 000020F6  206F 0008                movea.l    A0, [A7 + 0x8]
  3157. 000020FA  2F28 0048                move.l     -[A7], [A0 + 0x48]
  3158. 000020FE  4EAD EA10                jsr        [A5 - 0x15F0]
  3159. 00002102  42A7                     clr.l      -[A7]
  3160. 00002104  486D B5D5                pea.l      [A5 - 0x4A2B]
  3161. 00002108  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  3162. 0000210C  4EBA 0018                jsr        [PC + 0x18 /* 00002126 */]
  3163. 00002110  42A7                     clr.l      -[A7]
  3164. 00002112  42A7                     clr.l      -[A7]
  3165. 00002114  206F 0020                movea.l    A0, [A7 + 0x20]
  3166. 00002118  2F28 0048                move.l     -[A7], [A0 + 0x48]
  3167. 0000211C  4EAD EA00                jsr        [A5 - 0x1600]
  3168. 00002120  4FEF 0020                lea.l      A7, [A7 + 0x20]
  3169. label00002124:
  3170. 00002124  4E75                     rts
  3171. fn00002126:
  3172. 00002126  2F0A                     move.l     -[A7], A2
  3173. 00002128  514F                     subq.w     A7, 8
  3174. 0000212A  246F 0010                movea.l    A2, [A7 + 0x10]
  3175. 0000212E  4AAA 0024                tst.l      [A2 + 0x24]
  3176. 00002132  6736                     beq        +0x38 /* 0000216A */
  3177. 00002134  206A 0024                movea.l    A0, [A2 + 0x24]
  3178. 00002138  2050                     movea.l    A0, [A0]
  3179. 0000213A  2EA8 0008                move.l     [A7], [A0 + 0x8]
  3180. 0000213E  2F68 000C 0004           move.l     [A7 + 0x4], [A0 + 0xC]
  3181. 00002144  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  3182. 00002148  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  3183. 0000214C  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  3184. 00002150  A9CF                     syscall    TESetText
  3185. 00002152  4857                     pea.l      [A7]
  3186. 00002154  A8A3                     syscall    EraseRect
  3187. 00002156  4857                     pea.l      [A7]
  3188. 00002158  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  3189. 0000215C  A9D3                     syscall    TEUpdate
  3190. 0000215E  42A7                     clr.l      -[A7]
  3191. 00002160  4878 7FFF                push.l     0x7FFF
  3192. 00002164  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  3193. 00002168  A9D1                     syscall    TESetSelect
  3194. label0000216A:
  3195. 0000216A  504F                     addq.w     A7, 8
  3196. 0000216C  245F                     movea.l    A2, [A7]+
  3197. 0000216E  4E75                     rts
  3198. fn00002170:
  3199. 00002170  48E7 1030                movem.l    -[A7], D3,A2,A3
  3200. 00002174  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  3201. 00002178  266F 0020                movea.l    A3, [A7 + 0x20]
  3202. 0000217C  246F 0024                movea.l    A2, [A7 + 0x24]
  3203. 00002180  4227                     clr.b      -[A7]
  3204. 00002182  486F 0002                pea.l      [A7 + 0x2]
  3205. 00002186  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  3206. 0000218A  4EAD EA38                jsr        [A5 - 0x15C8]
  3207. 0000218E  2F6F 0032 0016           move.l     [A7 + 0x16], [A7 + 0x32]
  3208. 00002194  302F 0034                move.w     D0, [A7 + 0x34]
  3209. 00002198  48C0                     ext.l      D0
  3210. 0000219A  5380                     subq.l     D0, 1
  3211. 0000219C  3F40 0014                move.w     [A7 + 0x14], D0
  3212. 000021A0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  3213. 000021A4  6062                     bra        +0x64 /* 00002208 */
  3214. label000021A6:
  3215. 000021A6  554F                     subq.w     A7, 2
  3216. 000021A8  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  3217. 000021AC  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  3218. 000021B0  A881                     syscall    EqualPt
  3219. 000021B2  101F                     move.b     D0, [A7]+
  3220. 000021B4  664C                     bne        +0x4E /* 00002202 */
  3221. 000021B6  2F6F 000C 0008           move.l     [A7 + 0x8], [A7 + 0xC]
  3222. 000021BC  4AAA 0004                tst.l      [A2 + 0x4]
  3223. 000021C0  672E                     beq        +0x30 /* 000021F0 */
  3224. 000021C2  554F                     subq.w     A7, 2
  3225. 000021C4  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  3226. 000021C8  486F 0006                pea.l      [A7 + 0x6]
  3227. 000021CC  A8AD                     syscall    PtInRect
  3228. 000021CE  101F                     move.b     D0, [A7]+
  3229. 000021D0  6610                     bne        +0x12 /* 000021E2 */
  3230. 000021D2  554F                     subq.w     A7, 2
  3231. 000021D4  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  3232. 000021D8  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  3233. 000021DC  A8E8                     syscall    PtInRgn
  3234. 000021DE  101F                     move.b     D0, [A7]+
  3235. 000021E0  670E                     beq        +0x10 /* 000021F0 */
  3236. label000021E2:
  3237. 000021E2  362D 135E                move.w     D3, [A5 + 0x135E]
  3238. 000021E6  48C3                     ext.l      D3
  3239. 000021E8  0683 0000 008B           addi.l     D3, 0x8B
  3240. 000021EE  600C                     bra        +0xE /* 000021FC */
  3241. label000021F0:
  3242. 000021F0  362D 135E                move.w     D3, [A5 + 0x135E]
  3243. 000021F4  48C3                     ext.l      D3
  3244. 000021F6  0683 0000 008D           addi.l     D3, 0x8D
  3245. label000021FC:
  3246. 000021FC  3F03                     move.w     -[A7], D3
  3247. 000021FE  4EAD DDA0                jsr        [A5 - 0x2260]
  3248. label00002202:
  3249. 00002202  486F 000C                pea.l      [A7 + 0xC]
  3250. 00002206  A972                     syscall    GetMouse
  3251. label00002208:
  3252. 00002208  554F                     subq.w     A7, 2
  3253. 0000220A  A973                     syscall    StillDown
  3254. 0000220C  101F                     move.b     D0, [A7]+
  3255. 0000220E  6696                     bne        -0x68 /* 000021A6 */
  3256. 00002210  554F                     subq.w     A7, 2
  3257. 00002212  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  3258. 00002216  486F 0006                pea.l      [A7 + 0x6]
  3259. 0000221A  A8AD                     syscall    PtInRect
  3260. 0000221C  101F                     move.b     D0, [A7]+
  3261. 0000221E  6744                     beq        +0x46 /* 00002264 */
  3262. 00002220  2F0A                     move.l     -[A7], A2
  3263. 00002222  2F0B                     move.l     -[A7], A3
  3264. 00002224  4EBA FEC2                jsr        [PC - 0x13E /* 000020E8 */]
  3265. 00002228  4A6D B48A                tst.w      [A5 - 0x4B76]
  3266. 0000222C  504F                     addq.w     A7, 8
  3267. 0000222E  661A                     bne        +0x1C /* 0000224A */
  3268. 00002230  4267                     clr.w      -[A7]
  3269. 00002232  7001                     moveq.l    D0, 0x01
  3270. 00002234  322D 135E                move.w     D1, [A5 + 0x135E]
  3271. 00002238  48C1                     ext.l      D1
  3272. 0000223A  5C81                     addq.l     D1, 6
  3273. 0000223C  7410                     moveq.l    D2, 0x10
  3274. 0000223E  E5A9                     lsl        D1, D2
  3275. 00002240  8280                     or.l       D1, D0
  3276. 00002242  2F01                     move.l     -[A7], D1
  3277. 00002244  4EAD E338                jsr        [A5 - 0x1CC8]
  3278. 00002248  5C4F                     addq.w     A7, 6
  3279. label0000224A:
  3280. 0000224A  4A6D B48A                tst.w      [A5 - 0x4B76]
  3281. 0000224E  6714                     beq        +0x16 /* 00002264 */
  3282. 00002250  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  3283. 00002254  486F 0004                pea.l      [A7 + 0x4]
  3284. 00002258  2F0A                     move.l     -[A7], A2
  3285. 0000225A  2F0B                     move.l     -[A7], A3
  3286. 0000225C  4EBA 0010                jsr        [PC + 0x10 /* 0000226E */]
  3287. 00002260  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3288. label00002264:
  3289. 00002264  4FEF 0010                lea.l      A7, [A7 + 0x10]
  3290. 00002268  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  3291. 0000226C  4E75                     rts
  3292. fn0000226E:
  3293. 0000226E  48E7 0038                movem.l    -[A7], A2,A3,A4
  3294. 00002272  514F                     subq.w     A7, 8
  3295. 00002274  246F 0018                movea.l    A2, [A7 + 0x18]
  3296. 00002278  286F 001C                movea.l    A4, [A7 + 0x1C]
  3297. 0000227C  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  3298. 00002280  4EAD DD50                jsr        [A5 - 0x22B0]
  3299. 00002284  2F6F 0028 0004           move.l     [A7 + 0x4], [A7 + 0x28]
  3300. 0000228A  302F 0006                move.w     D0, [A7 + 0x6]
  3301. 0000228E  48C0                     ext.l      D0
  3302. 00002290  722A                     moveq.l    D1, 0x2A
  3303. 00002292  D081                     add.l      D0, D1
  3304. 00002294  3F40 000A                move.w     [A7 + 0xA], D0
  3305. 00002298  302F 0004                move.w     D0, [A7 + 0x4]
  3306. 0000229C  48C0                     ext.l      D0
  3307. 0000229E  7227                     moveq.l    D1, 0x27
  3308. 000022A0  D081                     add.l      D0, D1
  3309. 000022A2  3F40 0008                move.w     [A7 + 0x8], D0
  3310. 000022A6  486F 0004                pea.l      [A7 + 0x4]
  3311. 000022AA  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  3312. 000022AE  4EAD F630                jsr        [A5 - 0x9D0]
  3313. 000022B2  2648                     movea.l    A3, A0
  3314. 000022B4  2008                     move.l     D0, A0
  3315. 000022B6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3316. 000022BA  673A                     beq        +0x3C /* 000022F6 */
  3317. 000022BC  4AAC 0024                tst.l      [A4 + 0x24]
  3318. 000022C0  6706                     beq        +0x8 /* 000022C8 */
  3319. 000022C2  2F2C 0024                move.l     -[A7], [A4 + 0x24]
  3320. 000022C6  A9D9                     syscall    TEDeactivate
  3321. label000022C8:
  3322. 000022C8  42A7                     clr.l      -[A7]
  3323. 000022CA  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  3324. 000022CE  4EAD E3D8                jsr        [A5 - 0x1C28]
  3325. 000022D2  42A7                     clr.l      -[A7]
  3326. 000022D4  4878 0001                push.l     0x1
  3327. 000022D8  2F0B                     move.l     -[A7], A3
  3328. 000022DA  4EAD F640                jsr        [A5 - 0x9C0]
  3329. 000022DE  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  3330. 000022E2  4EAD EA40                jsr        [A5 - 0x15C0]
  3331. 000022E6  4878 0001                push.l     0x1
  3332. 000022EA  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  3333. 000022EE  4EAD EA10                jsr        [A5 - 0x15F0]
  3334. 000022F2  4FEF 0020                lea.l      A7, [A7 + 0x20]
  3335. label000022F6:
  3336. 000022F6  4EAD DD58                jsr        [A5 - 0x22A8]
  3337. 000022FA  504F                     addq.w     A7, 8
  3338. 000022FC  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  3339. 00002300  4E75                     rts
  3340. fn00002302:
  3341. 00002302  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  3342. 00002306  4FEF FEE4                lea.l      A7, [A7 - 0x11C]
  3343. 0000230A  2C6F 0154                movea.l    A6, [A7 + 0x154]
  3344. 0000230E  286F 0158                movea.l    A4, [A7 + 0x158]
  3345. 00002312  282F 015C                move.l     D4, [A7 + 0x15C]
  3346. 00002316  162F 0160                move.b     D3, [A7 + 0x160]
  3347. 0000231A  3A2F 0166                move.w     D5, [A7 + 0x166]
  3348. 0000231E  41ED 8AE0                lea.l      A0, [A5 - 0x7520]
  3349. 00002322  43D7                     lea.l      A1, [A7]
  3350. 00002324  7043                     moveq.l    D0, 0x43
  3351. label00002326:
  3352. 00002326  22D8                     move.l     [A1]+, [A0]+
  3353. 00002328  51C8 FFFC                dbf        D0, -0x6 /* 00002326 */
  3354. 0000232C  32D8                     move.w     [A1]+, [A0]+
  3355. 0000232E  4AAF 0150                tst.l      [A7 + 0x150]
  3356. 00002332  6604                     bne        +0x6 /* 00002338 */
  3357. 00002334  41D7                     lea.l      A0, [A7]
  3358. 00002336  6004                     bra        +0x6 /* 0000233C */
  3359. label00002338:
  3360. 00002338  206F 0150                movea.l    A0, [A7 + 0x150]
  3361. label0000233C:
  3362. 0000233C  2448                     movea.l    A2, A0
  3363. 0000233E  426F 011A                clr.w      [A7 + 0x11A]
  3364. 00002342  1F3C 000C                move.b     -[A7], 0xC
  3365. 00002346  2F2F 0146                move.l     -[A7], [A7 + 0x146]
  3366. 0000234A  4EBA 313E                jsr        [PC + 0x313E /* 0000548A */]
  3367. 0000234E  2648                     movea.l    A3, A0
  3368. 00002350  2008                     move.l     D0, A0
  3369. 00002352  5C4F                     addq.w     A7, 6
  3370. 00002354  660C                     bne        +0xE /* 00002362 */
  3371. 00002356  7000                     moveq.l    D0, 0x00
  3372. 00002358  4FEF 011C                lea.l      A7, [A7 + 0x11C]
  3373. 0000235C  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3374. 00002360  4E75                     rts
  3375. label00002362:
  3376. 00002362  7000                     moveq.l    D0, 0x00
  3377. 00002364  1003                     move.b     D0, D3
  3378. 00002366  5580                     subq.l     D0, 2
  3379. 00002368  672E                     beq        +0x30 /* 00002398 */
  3380. 0000236A  5380                     subq.l     D0, 1
  3381. 0000236C  672A                     beq        +0x2C /* 00002398 */
  3382. 0000236E  4E71                     nop
  3383. 00002370  4EAD DD60                jsr        [A5 - 0x22A0]
  3384. 00002374  4267                     clr.w      -[A7]
  3385. 00002376  A887                     syscall    TextFont
  3386. 00002378  4267                     clr.w      -[A7]
  3387. 0000237A  A88A                     syscall    TextSize
  3388. 0000237C  4267                     clr.w      -[A7]
  3389. 0000237E  A888                     syscall    TextFace
  3390. 00002380  554F                     subq.w     A7, 2
  3391. 00002382  2F0E                     move.l     -[A7], A6
  3392. 00002384  A88C                     syscall    StringWidth
  3393. 00002386  301F                     move.w     D0, [A7]+
  3394. 00002388  48C0                     ext.l      D0
  3395. 0000238A  720C                     moveq.l    D1, 0x0C
  3396. 0000238C  D081                     add.l      D0, D1
  3397. 0000238E  3E00                     move.w     D7, D0
  3398. 00002390  4EAD DD68                jsr        [A5 - 0x2298]
  3399. 00002394  7C00                     moveq.l    D6, 0x00
  3400. 00002396  600E                     bra        +0x10 /* 000023A6 */
  3401. label00002398:
  3402. 00002398  0C03 0003                cmpi.b     D3, 0x3
  3403. 0000239C  6604                     bne        +0x6 /* 000023A2 */
  3404. 0000239E  7C02                     moveq.l    D6, 0x02
  3405. 000023A0  6002                     bra        +0x4 /* 000023A4 */
  3406. label000023A2:
  3407. 000023A2  7C01                     moveq.l    D6, 0x01
  3408. label000023A4:
  3409. 000023A4  7E27                     moveq.l    D7, 0x27
  3410. label000023A6:
  3411. 000023A6  486F 0112                pea.l      [A7 + 0x112]
  3412. 000023AA  42A7                     clr.l      -[A7]
  3413. 000023AC  3F07                     move.w     -[A7], D7
  3414. 000023AE  3F3C 0014                move.w     -[A7], 0x14
  3415. 000023B2  A8A7                     syscall    SetRect
  3416. 000023B4  4AAF 014C                tst.l      [A7 + 0x14C]
  3417. 000023B8  6606                     bne        +0x8 /* 000023C0 */
  3418. 000023BA  42AA 0100                clr.l      [A2 + 0x100]
  3419. 000023BE  6026                     bra        +0x28 /* 000023E6 */
  3420. label000023C0:
  3421. 000023C0  1F06                     move.b     -[A7], D6
  3422. 000023C2  2F0E                     move.l     -[A7], A6
  3423. 000023C4  486F 0118                pea.l      [A7 + 0x118]
  3424. 000023C8  2F2F 014E                move.l     -[A7], [A7 + 0x14E]
  3425. 000023CC  4EAD E908                jsr        [A5 - 0x16F8]
  3426. 000023D0  2548 0100                move.l     [A2 + 0x100], A0
  3427. 000023D4  2008                     move.l     D0, A0
  3428. 000023D6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  3429. 000023DA  660A                     bne        +0xC /* 000023E6 */
  3430. 000023DC  3F7C FF94 011A           move.w     [A7 + 0x11A], 0xFF94
  3431. 000023E2  6000 012C                bra        +0x12E /* 00002510 */
  3432. label000023E6:
  3433. 000023E6  4AAF 014C                tst.l      [A7 + 0x14C]
  3434. 000023EA  672C                     beq        +0x2E /* 00002418 */
  3435. 000023EC  206F 014C                movea.l    A0, [A7 + 0x14C]
  3436. 000023F0  4AA8 0030                tst.l      [A0 + 0x30]
  3437. 000023F4  670E                     beq        +0x10 /* 00002404 */
  3438. 000023F6  4878 0001                push.l     0x1
  3439. 000023FA  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  3440. 000023FE  4EAD E920                jsr        [A5 - 0x16E0]
  3441. 00002402  504F                     addq.w     A7, 8
  3442. label00002404:
  3443. 00002404  206F 0144                movea.l    A0, [A7 + 0x144]
  3444. 00002408  4A28 006F                tst.b      [A0 + 0x6F]
  3445. 0000240C  660A                     bne        +0xC /* 00002418 */
  3446. 0000240E  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  3447. 00002412  3F3C 00FF                move.w     -[A7], 0xFF
  3448. 00002416  A95D                     syscall    HiliteControl
  3449. label00002418:
  3450. 00002418  4AAF 0150                tst.l      [A7 + 0x150]
  3451. 0000241C  6600 00F2                bne        +0xF4 /* 00002510 */
  3452. 00002420  204E                     movea.l    A0, A6
  3453. 00002422  224A                     movea.l    A1, A2
  3454. 00002424  7000                     moveq.l    D0, 0x00
  3455. 00002426  1016                     move.b     D0, [A6]
  3456. 00002428  5280                     addq.l     D0, 1
  3457. 0000242A  A02E                     syscall    BlockMove/BlockMoveData
  3458. 0000242C  2544 0104                move.l     [A2 + 0x104], D4
  3459. 00002430  1543 0110                move.b     [A2 + 0x110], D3
  3460. 00002434  200C                     move.l     D0, A4
  3461. 00002436  672A                     beq        +0x2C /* 00002462 */
  3462. 00002438  486F 011A                pea.l      [A7 + 0x11A]
  3463. 0000243C  2F0C                     move.l     -[A7], A4
  3464. 0000243E  4EAD DD80                jsr        [A5 - 0x2280]
  3465. 00002442  584F                     addq.w     A7, 4
  3466. 00002444  2F08                     move.l     -[A7], A0
  3467. 00002446  4EAD DA7E                jsr        [A5 - 0x2582]
  3468. 0000244A  2548 0108                move.l     [A2 + 0x108], A0
  3469. 0000244E  2F0C                     move.l     -[A7], A4
  3470. 00002450  4EAD DD88                jsr        [A5 - 0x2278]
  3471. 00002454  4A6F 0126                tst.w      [A7 + 0x126]
  3472. 00002458  4FEF 000C                lea.l      A7, [A7 + 0xC]
  3473. 0000245C  6708                     beq        +0xA /* 00002466 */
  3474. 0000245E  6000 00B0                bra        +0xB2 /* 00002510 */
  3475. label00002462:
  3476. 00002462  42AA 0108                clr.l      [A2 + 0x108]
  3477. label00002466:
  3478. 00002466  002A 0080 010C           ori.b      [A2 + 0x10C], 0x80
  3479. 0000246C  594F                     subq.w     A7, 4
  3480. 0000246E  2F0B                     move.l     -[A7], A3
  3481. 00002470  4EAD D9AC                jsr        [A5 - 0x2654]
  3482. 00002474  201F                     move.l     D0, [A7]+
  3483. 00002476  2600                     move.l     D3, D0
  3484. 00002478  3005                     move.w     D0, D5
  3485. 0000247A  48C0                     ext.l      D0
  3486. 0000247C  4A80                     tst.l      D0
  3487. 0000247E  6D14                     blt        +0x16 /* 00002494 */
  3488. 00002480  2003                     move.l     D0, D3
  3489. 00002482  223C 0000 0112           move.l     D1, 0x112
  3490. 00002488  4EAD D8FE                jsr        [A5 - 0x2702]
  3491. 0000248C  3205                     move.w     D1, D5
  3492. 0000248E  48C1                     ext.l      D1
  3493. 00002490  B280                     cmp.l      D1, D0
  3494. 00002492  6512                     bcs        +0x14 /* 000024A6 */
  3495. label00002494:
  3496. 00002494  204A                     movea.l    A0, A2
  3497. 00002496  224B                     movea.l    A1, A3
  3498. 00002498  203C 0000 0112           move.l     D0, 0x112
  3499. 0000249E  A9EF                     syscall    PtrAndHand
  3500. 000024A0  3F40 011A                move.w     [A7 + 0x11A], D0
  3501. 000024A4  606A                     bra        +0x6C /* 00002510 */
  3502. label000024A6:
  3503. 000024A6  204B                     movea.l    A0, A3
  3504. 000024A8  2003                     move.l     D0, D3
  3505. 000024AA  0680 0000 0112           addi.l     D0, 0x112
  3506. 000024B0  A024                     syscall    SetHandleSize
  3507. 000024B2  554F                     subq.w     A7, 2
  3508. 000024B4  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  3509. 000024B8  301F                     move.w     D0, [A7]+
  3510. 000024BA  6712                     beq        +0x14 /* 000024CE */
  3511. 000024BC  554F                     subq.w     A7, 2
  3512. 000024BE  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  3513. 000024C2  301F                     move.w     D0, [A7]+
  3514. 000024C4  4FEF 011C                lea.l      A7, [A7 + 0x11C]
  3515. 000024C8  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3516. 000024CC  4E75                     rts
  3517. label000024CE:
  3518. 000024CE  3005                     move.w     D0, D5
  3519. 000024D0  48C0                     ext.l      D0
  3520. 000024D2  223C 0000 0112           move.l     D1, 0x112
  3521. 000024D8  4EAD D8F8                jsr        [A5 - 0x2708]
  3522. 000024DC  3800                     move.w     D4, D0
  3523. 000024DE  2F0B                     move.l     -[A7], A3
  3524. 000024E0  4EAD DD80                jsr        [A5 - 0x2280]
  3525. 000024E4  2848                     movea.l    A4, A0
  3526. 000024E6  3044                     movea.w    A0, D4
  3527. 000024E8  D9C8                     add.l      A4, A0
  3528. 000024EA  3004                     move.w     D0, D4
  3529. 000024EC  48C0                     ext.l      D0
  3530. 000024EE  2203                     move.l     D1, D3
  3531. 000024F0  9280                     sub.l      D1, D0
  3532. 000024F2  2001                     move.l     D0, D1
  3533. 000024F4  204C                     movea.l    A0, A4
  3534. 000024F6  43EC 0112                lea.l      A1, [A4 + 0x112]
  3535. 000024FA  A02E                     syscall    BlockMove/BlockMoveData
  3536. 000024FC  204A                     movea.l    A0, A2
  3537. 000024FE  224C                     movea.l    A1, A4
  3538. 00002500  203C 0000 0112           move.l     D0, 0x112
  3539. 00002506  A02E                     syscall    BlockMove/BlockMoveData
  3540. 00002508  2F0B                     move.l     -[A7], A3
  3541. 0000250A  4EAD DD88                jsr        [A5 - 0x2278]
  3542. 0000250E  504F                     addq.w     A7, 8
  3543. label00002510:
  3544. 00002510  4A6F 011A                tst.w      [A7 + 0x11A]
  3545. 00002514  670E                     beq        +0x10 /* 00002524 */
  3546. 00002516  4AAA 0100                tst.l      [A2 + 0x100]
  3547. 0000251A  6708                     beq        +0xA /* 00002524 */
  3548. 0000251C  2F2A 0100                move.l     -[A7], [A2 + 0x100]
  3549. 00002520  A955                     syscall    DisposeControl
  3550. 00002522  600E                     bra        +0x10 /* 00002532 */
  3551. label00002524:
  3552. 00002524  4AAF 0162                tst.l      [A7 + 0x162]
  3553. 00002528  6708                     beq        +0xA /* 00002532 */
  3554. 0000252A  206F 0162                movea.l    A0, [A7 + 0x162]
  3555. 0000252E  20AA 0100                move.l     [A0], [A2 + 0x100]
  3556. label00002532:
  3557. 00002532  302F 011A                move.w     D0, [A7 + 0x11A]
  3558. 00002536  4FEF 011C                lea.l      A7, [A7 + 0x11C]
  3559. 0000253A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3560. 0000253E  4E75                     rts
  3561. fn00002540:
  3562. 00002540  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  3563. 00002544  4FEF FFEE                lea.l      A7, [A7 - 0x12]
  3564. 00002548  246F 003A                movea.l    A2, [A7 + 0x3A]
  3565. 0000254C  7A01                     moveq.l    D5, 0x01
  3566. 0000254E  7604                     moveq.l    D3, 0x04
  3567. 00002550  7804                     moveq.l    D4, 0x04
  3568. 00002552  1F3C 000C                move.b     -[A7], 0xC
  3569. 00002556  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  3570. 0000255A  4EBA 2F2E                jsr        [PC + 0x2F2E /* 0000548A */]
  3571. 0000255E  2C48                     movea.l    A6, A0
  3572. 00002560  2008                     move.l     D0, A0
  3573. 00002562  5C4F                     addq.w     A7, 6
  3574. 00002564  6700 0102                beq        +0x104 /* 00002668 */
  3575. 00002568  206A 0048                movea.l    A0, [A2 + 0x48]
  3576. 0000256C  3028 0012                move.w     D0, [A0 + 0x12]
  3577. 00002570  48C0                     ext.l      D0
  3578. 00002572  206A 0048                movea.l    A0, [A2 + 0x48]
  3579. 00002576  3228 0016                move.w     D1, [A0 + 0x16]
  3580. 0000257A  48C1                     ext.l      D1
  3581. 0000257C  9280                     sub.l      D1, D0
  3582. 0000257E  5181                     subq.l     D1, 8
  3583. 00002580  3E81                     move.w     [A7], D1
  3584. 00002582  594F                     subq.w     A7, 4
  3585. 00002584  2F0E                     move.l     -[A7], A6
  3586. 00002586  4EAD D9AC                jsr        [A5 - 0x2654]
  3587. 0000258A  201F                     move.l     D0, [A7]+
  3588. 0000258C  223C 0000 0112           move.l     D1, 0x112
  3589. 00002592  4EAD D8FE                jsr        [A5 - 0x2702]
  3590. 00002596  2840                     movea.l    A4, D0
  3591. 00002598  2F0E                     move.l     -[A7], A6
  3592. 0000259A  4EAD DD80                jsr        [A5 - 0x2280]
  3593. 0000259E  2648                     movea.l    A3, A0
  3594. 000025A0  7E00                     moveq.l    D7, 0x00
  3595. 000025A2  584F                     addq.w     A7, 4
  3596. 000025A4  6000 00A6                bra        +0xA8 /* 0000264C */
  3597. label000025A8:
  3598. 000025A8  4AAB 0100                tst.l      [A3 + 0x100]
  3599. 000025AC  6700 0098                beq        +0x9A /* 00002646 */
  3600. 000025B0  246B 0100                movea.l    A2, [A3 + 0x100]
  3601. 000025B4  2452                     movea.l    A2, [A2]
  3602. 000025B6  508A                     addq.l     A2, 8
  3603. 000025B8  302A 0002                move.w     D0, [A2 + 0x2]
  3604. 000025BC  48C0                     ext.l      D0
  3605. 000025BE  3C2A 0006                move.w     D6, [A2 + 0x6]
  3606. 000025C2  48C6                     ext.l      D6
  3607. 000025C4  9C80                     sub.l      D6, D0
  3608. 000025C6  4A85                     tst.l      D5
  3609. 000025C8  661C                     bne        +0x1E /* 000025E6 */
  3610. 000025CA  3017                     move.w     D0, [A7]
  3611. 000025CC  48C0                     ext.l      D0
  3612. 000025CE  3206                     move.w     D1, D6
  3613. 000025D0  48C1                     ext.l      D1
  3614. 000025D2  3403                     move.w     D2, D3
  3615. 000025D4  48C2                     ext.l      D2
  3616. 000025D6  D481                     add.l      D2, D1
  3617. 000025D8  B480                     cmp.l      D2, D0
  3618. 000025DA  6F0A                     ble        +0xC /* 000025E6 */
  3619. 000025DC  7604                     moveq.l    D3, 0x04
  3620. 000025DE  0644 0018                addi.w     D4, 0x18
  3621. 000025E2  7A01                     moveq.l    D5, 0x01
  3622. 000025E4  6002                     bra        +0x4 /* 000025E8 */
  3623. label000025E6:
  3624. 000025E6  7A00                     moveq.l    D5, 0x00
  3625. label000025E8:
  3626. 000025E8  B66A 0002                cmp.w      D3, [A2 + 0x2]
  3627. 000025EC  6604                     bne        +0x6 /* 000025F2 */
  3628. 000025EE  B852                     cmp.w      D4, [A2]
  3629. 000025F0  674C                     beq        +0x4E /* 0000263E */
  3630. label000025F2:
  3631. 000025F2  206B 0100                movea.l    A0, [A3 + 0x100]
  3632. 000025F6  2450                     movea.l    A2, [A0]
  3633. 000025F8  2F6A 0008 000A           move.l     [A7 + 0xA], [A2 + 0x8]
  3634. 000025FE  2F6A 000C 000E           move.l     [A7 + 0xE], [A2 + 0xC]
  3635. 00002604  486A 0008                pea.l      [A2 + 0x8]
  3636. 00002608  302F 0010                move.w     D0, [A7 + 0x10]
  3637. 0000260C  48C0                     ext.l      D0
  3638. 0000260E  3203                     move.w     D1, D3
  3639. 00002610  48C1                     ext.l      D1
  3640. 00002612  9280                     sub.l      D1, D0
  3641. 00002614  3F01                     move.w     -[A7], D1
  3642. 00002616  302F 0010                move.w     D0, [A7 + 0x10]
  3643. 0000261A  48C0                     ext.l      D0
  3644. 0000261C  3204                     move.w     D1, D4
  3645. 0000261E  48C1                     ext.l      D1
  3646. 00002620  9280                     sub.l      D1, D0
  3647. 00002622  3F01                     move.w     -[A7], D1
  3648. 00002624  A8A8                     syscall    OffsetRect
  3649. 00002626  2F6A 0008 0002           move.l     [A7 + 0x2], [A2 + 0x8]
  3650. 0000262C  2F6A 000C 0006           move.l     [A7 + 0x6], [A2 + 0xC]
  3651. 00002632  486F 000A                pea.l      [A7 + 0xA]
  3652. 00002636  A928                     syscall    InvalRect
  3653. 00002638  486F 0002                pea.l      [A7 + 0x2]
  3654. 0000263C  A928                     syscall    InvalRect
  3655. label0000263E:
  3656. 0000263E  3006                     move.w     D0, D6
  3657. 00002640  48C0                     ext.l      D0
  3658. 00002642  5880                     addq.l     D0, 4
  3659. 00002644  D640                     add.w      D3, D0
  3660. label00002646:
  3661. 00002646  5287                     addq.l     D7, 1
  3662. 00002648  47EB 0112                lea.l      A3, [A3 + 0x112]
  3663. label0000264C:
  3664. 0000264C  BE8C                     cmp.l      D7, A4
  3665. 0000264E  6D00 FF58                blt        -0xA6 /* 000025A8 */
  3666. 00002652  2F0E                     move.l     -[A7], A6
  3667. 00002654  4EAD DD88                jsr        [A5 - 0x2278]
  3668. 00002658  3004                     move.w     D0, D4
  3669. 0000265A  48C0                     ext.l      D0
  3670. 0000265C  7218                     moveq.l    D1, 0x18
  3671. 0000265E  D081                     add.l      D0, D1
  3672. 00002660  206F 0046                movea.l    A0, [A7 + 0x46]
  3673. 00002664  3080                     move.w     [A0], D0
  3674. 00002666  584F                     addq.w     A7, 4
  3675. label00002668:
  3676. 00002668  4FEF 0012                lea.l      A7, [A7 + 0x12]
  3677. 0000266C  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3678. 00002670  4E75                     rts
  3679. fn00002672:
  3680. 00002672  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  3681. 00002676  4FEF FFE0                lea.l      A7, [A7 - 0x20]
  3682. 0000267A  2C6F 0048                movea.l    A6, [A7 + 0x48]
  3683. 0000267E  246F 004C                movea.l    A2, [A7 + 0x4C]
  3684. 00002682  266F 0050                movea.l    A3, [A7 + 0x50]
  3685. 00002686  7600                     moveq.l    D3, 0x00
  3686. 00002688  7804                     moveq.l    D4, 0x04
  3687. 0000268A  7C04                     moveq.l    D6, 0x04
  3688. 0000268C  594F                     subq.w     A7, 4
  3689. 0000268E  302D 135E                move.w     D0, [A5 + 0x135E]
  3690. 00002692  48C0                     ext.l      D0
  3691. 00002694  0680 0000 0081           addi.l     D0, 0x81
  3692. 0000269A  3F00                     move.w     -[A7], D0
  3693. 0000269C  A9BA                     syscall    GetString
  3694. 0000269E  205F                     movea.l    A0, [A7]+
  3695. 000026A0  2008                     move.l     D0, A0
  3696. 000026A2  56C0                     sne        D0
  3697. 000026A4  4400                     neg.b      D0
  3698. 000026A6  4880                     ext.w      D0
  3699. 000026A8  48C0                     ext.l      D0
  3700. 000026AA  2A00                     move.l     D5, D0
  3701. 000026AC  1F3C 000C                move.b     -[A7], 0xC
  3702. 000026B0  2F2E 0048                move.l     -[A7], [A6 + 0x48]
  3703. 000026B4  4EBA 2DD4                jsr        [PC + 0x2DD4 /* 0000548A */]
  3704. 000026B8  2848                     movea.l    A4, A0
  3705. 000026BA  2008                     move.l     D0, A0
  3706. 000026BC  5C4F                     addq.w     A7, 6
  3707. 000026BE  6700 00BC                beq        +0xBE /* 0000277C */
  3708. 000026C2  594F                     subq.w     A7, 4
  3709. 000026C4  2F0C                     move.l     -[A7], A4
  3710. 000026C6  4EAD D9AC                jsr        [A5 - 0x2654]
  3711. 000026CA  201F                     move.l     D0, [A7]+
  3712. 000026CC  223C 0000 0112           move.l     D1, 0x112
  3713. 000026D2  4EAD D8FE                jsr        [A5 - 0x2702]
  3714. 000026D6  2F40 0004                move.l     [A7 + 0x4], D0
  3715. 000026DA  6700 00A0                beq        +0xA2 /* 0000277C */
  3716. 000026DE  223C 0000 0112           move.l     D1, 0x112
  3717. 000026E4  4EAD D8F8                jsr        [A5 - 0x2708]
  3718. 000026E8  2054                     movea.l    A0, [A4]
  3719. 000026EA  D1C0                     add.l      A0, D0
  3720. 000026EC  41E8 FEEE                lea.l      A0, [A0 - 0x112]
  3721. 000026F0  2E08                     move.l     D7, A0
  3722. 000026F2  2047                     movea.l    A0, D7
  3723. 000026F4  4AA8 0100                tst.l      [A0 + 0x100]
  3724. 000026F8  6700 0084                beq        +0x86 /* 0000277E */
  3725. 000026FC  2847                     movea.l    A4, D7
  3726. 000026FE  286C 0100                movea.l    A4, [A4 + 0x100]
  3727. 00002702  2854                     movea.l    A4, [A4]
  3728. 00002704  508C                     addq.l     A4, 8
  3729. 00002706  4AAD 8C2C                tst.l      [A5 - 0x73D4]
  3730. 0000270A  6604                     bne        +0x6 /* 00002710 */
  3731. 0000270C  7000                     moveq.l    D0, 0x00
  3732. 0000270E  6002                     bra        +0x4 /* 00002712 */
  3733. label00002710:
  3734. 00002710  7008                     moveq.l    D0, 0x08
  3735. label00002712:
  3736. 00002712  3E00                     move.w     D7, D0
  3737. 00002714  3C14                     move.w     D6, [A4]
  3738. 00002716  206E 0048                movea.l    A0, [A6 + 0x48]
  3739. 0000271A  3028 0016                move.w     D0, [A0 + 0x16]
  3740. 0000271E  48C0                     ext.l      D0
  3741. 00002720  5980                     subq.l     D0, 4
  3742. 00002722  2E80                     move.l     [A7], D0
  3743. 00002724  4AAD 8C2C                tst.l      [A5 - 0x73D4]
  3744. 00002728  6604                     bne        +0x6 /* 0000272E */
  3745. 0000272A  7000                     moveq.l    D0, 0x00
  3746. 0000272C  600A                     bra        +0xC /* 00002738 */
  3747. label0000272E:
  3748. 0000272E  302A 002C                move.w     D0, [A2 + 0x2C]
  3749. 00002732  48C0                     ext.l      D0
  3750. 00002734  724C                     moveq.l    D1, 0x4C
  3751. 00002736  D081                     add.l      D0, D1
  3752. label00002738:
  3753. 00002738  721F                     moveq.l    D1, 0x1F
  3754. 0000273A  D081                     add.l      D0, D1
  3755. 0000273C  3207                     move.w     D1, D7
  3756. 0000273E  48C1                     ext.l      D1
  3757. 00002740  342C 0006                move.w     D2, [A4 + 0x6]
  3758. 00002744  48C2                     ext.l      D2
  3759. 00002746  D481                     add.l      D2, D1
  3760. 00002748  D480                     add.l      D2, D0
  3761. 0000274A  B497                     cmp.l      D2, [A7]
  3762. 0000274C  6C30                     bge        +0x32 /* 0000277E */
  3763. 0000274E  7601                     moveq.l    D3, 0x01
  3764. 00002750  4AAD 8C2C                tst.l      [A5 - 0x73D4]
  3765. 00002754  671C                     beq        +0x1E /* 00002772 */
  3766. 00002756  4A85                     tst.l      D5
  3767. 00002758  6618                     bne        +0x1A /* 00002772 */
  3768. 0000275A  3807                     move.w     D4, D7
  3769. 0000275C  48C4                     ext.l      D4
  3770. 0000275E  322C 0006                move.w     D1, [A4 + 0x6]
  3771. 00002762  48C1                     ext.l      D1
  3772. 00002764  D284                     add.l      D1, D4
  3773. 00002766  382A 002C                move.w     D4, [A2 + 0x2C]
  3774. 0000276A  48C4                     ext.l      D4
  3775. 0000276C  D881                     add.l      D4, D1
  3776. 0000276E  5684                     addq.l     D4, 3
  3777. 00002770  600C                     bra        +0xE /* 0000277E */
  3778. label00002772:
  3779. 00002772  382C 0006                move.w     D4, [A4 + 0x6]
  3780. 00002776  48C4                     ext.l      D4
  3781. 00002778  5884                     addq.l     D4, 4
  3782. 0000277A  6002                     bra        +0x4 /* 0000277E */
  3783. label0000277C:
  3784. 0000277C  7601                     moveq.l    D3, 0x01
  3785. label0000277E:
  3786. 0000277E  4A85                     tst.l      D5
  3787. 00002780  6708                     beq        +0xA /* 0000278A */
  3788. 00002782  302A 002E                move.w     D0, [A2 + 0x2E]
  3789. 00002786  D153                     add.w      [A3], D0
  3790. 00002788  7600                     moveq.l    D3, 0x00
  3791. label0000278A:
  3792. 0000278A  4AAA 0024                tst.l      [A2 + 0x24]
  3793. 0000278E  6700 0144                beq        +0x146 /* 000028D4 */
  3794. 00002792  286A 0024                movea.l    A4, [A2 + 0x24]
  3795. 00002796  2854                     movea.l    A4, [A4]
  3796. 00002798  508C                     addq.l     A4, 8
  3797. 0000279A  3014                     move.w     D0, [A4]
  3798. 0000279C  48C0                     ext.l      D0
  3799. 0000279E  3E2C 0004                move.w     D7, [A4 + 0x4]
  3800. 000027A2  48C7                     ext.l      D7
  3801. 000027A4  9E80                     sub.l      D7, D0
  3802. 000027A6  4A83                     tst.l      D3
  3803. 000027A8  6738                     beq        +0x3A /* 000027E2 */
  3804. 000027AA  3F44 001A                move.w     [A7 + 0x1A], D4
  3805. 000027AE  206E 0048                movea.l    A0, [A6 + 0x48]
  3806. 000027B2  3028 0016                move.w     D0, [A0 + 0x16]
  3807. 000027B6  48C0                     ext.l      D0
  3808. 000027B8  72DE                     moveq.l    D1, 0xFFFFFFDE
  3809. 000027BA  D081                     add.l      D0, D1
  3810. 000027BC  3F40 001E                move.w     [A7 + 0x1E], D0
  3811. 000027C0  3007                     move.w     D0, D7
  3812. 000027C2  48C0                     ext.l      D0
  3813. 000027C4  72EC                     moveq.l    D1, 0xFFFFFFEC
  3814. 000027C6  D081                     add.l      D0, D1
  3815. 000027C8  2200                     move.l     D1, D0
  3816. 000027CA  E089                     lsr        D1, 8
  3817. 000027CC  E089                     lsr        D1, 8
  3818. 000027CE  E089                     lsr        D1, 8
  3819. 000027D0  EE89                     lsr        D1, 7
  3820. 000027D2  D280                     add.l      D1, D0
  3821. 000027D4  E281                     asr        D1, 1
  3822. 000027D6  3006                     move.w     D0, D6
  3823. 000027D8  48C0                     ext.l      D0
  3824. 000027DA  D081                     add.l      D0, D1
  3825. 000027DC  5280                     addq.l     D0, 1
  3826. 000027DE  3680                     move.w     [A3], D0
  3827. 000027E0  602C                     bra        +0x2E /* 0000280E */
  3828. label000027E2:
  3829. 000027E2  4A85                     tst.l      D5
  3830. 000027E4  6708                     beq        +0xA /* 000027EE */
  3831. 000027E6  3F7C 0007 001A           move.w     [A7 + 0x1A], 0x7
  3832. 000027EC  600E                     bra        +0x10 /* 000027FC */
  3833. label000027EE:
  3834. 000027EE  302A 002C                move.w     D0, [A2 + 0x2C]
  3835. 000027F2  48C0                     ext.l      D0
  3836. 000027F4  720A                     moveq.l    D1, 0x0A
  3837. 000027F6  D081                     add.l      D0, D1
  3838. 000027F8  3F40 001A                move.w     [A7 + 0x1A], D0
  3839. label000027FC:
  3840. 000027FC  206E 0048                movea.l    A0, [A6 + 0x48]
  3841. 00002800  3028 0016                move.w     D0, [A0 + 0x16]
  3842. 00002804  48C0                     ext.l      D0
  3843. 00002806  72DE                     moveq.l    D1, 0xFFFFFFDE
  3844. 00002808  D081                     add.l      D0, D1
  3845. 0000280A  3F40 001E                move.w     [A7 + 0x1E], D0
  3846. label0000280E:
  3847. 0000280E  3013                     move.w     D0, [A3]
  3848. 00002810  48C0                     ext.l      D0
  3849. 00002812  5680                     addq.l     D0, 3
  3850. 00002814  3F40 0018                move.w     [A7 + 0x18], D0
  3851. 00002818  3007                     move.w     D0, D7
  3852. 0000281A  48C0                     ext.l      D0
  3853. 0000281C  322F 0018                move.w     D1, [A7 + 0x18]
  3854. 00002820  48C1                     ext.l      D1
  3855. 00002822  D280                     add.l      D1, D0
  3856. 00002824  3F41 001C                move.w     [A7 + 0x1C], D1
  3857. 00002828  3001                     move.w     D0, D1
  3858. 0000282A  48C0                     ext.l      D0
  3859. 0000282C  5E80                     addq.l     D0, 7
  3860. 0000282E  3680                     move.w     [A3], D0
  3861. 00002830  554F                     subq.w     A7, 2
  3862. 00002832  486F 001A                pea.l      [A7 + 0x1A]
  3863. 00002836  2F0C                     move.l     -[A7], A4
  3864. 00002838  A8A6                     syscall    EqualRect
  3865. 0000283A  101F                     move.b     D0, [A7]+
  3866. 0000283C  6600 0096                bne        +0x98 /* 000028D4 */
  3867. 00002840  2F54 0008                move.l     [A7 + 0x8], [A4]
  3868. 00002844  2F6C 0004 000C           move.l     [A7 + 0xC], [A4 + 0x4]
  3869. 0000284A  206A 0024                movea.l    A0, [A2 + 0x24]
  3870. 0000284E  2850                     movea.l    A4, [A0]
  3871. 00002850  28AF 0018                move.l     [A4], [A7 + 0x18]
  3872. 00002854  296F 001C 0004           move.l     [A4 + 0x4], [A7 + 0x1C]
  3873. 0000285A  296F 0018 0008           move.l     [A4 + 0x8], [A7 + 0x18]
  3874. 00002860  296F 001C 000C           move.l     [A4 + 0xC], [A7 + 0x1C]
  3875. 00002866  2F2A 0024                move.l     -[A7], [A2 + 0x24]
  3876. 0000286A  A9D0                     syscall    TECalText
  3877. 0000286C  486F 0008                pea.l      [A7 + 0x8]
  3878. 00002870  2F3C FFFD FFFD           move.l     -[A7], 0xFFFDFFFD
  3879. 00002876  A8A9                     syscall    InsetRect
  3880. 00002878  486F 0008                pea.l      [A7 + 0x8]
  3881. 0000287C  A928                     syscall    InvalRect
  3882. 0000287E  486F 0018                pea.l      [A7 + 0x18]
  3883. 00002882  2F3C FFFD FFFD           move.l     -[A7], 0xFFFDFFFD
  3884. 00002888  A8A9                     syscall    InsetRect
  3885. 0000288A  486F 0018                pea.l      [A7 + 0x18]
  3886. 0000288E  A928                     syscall    InvalRect
  3887. 00002890  302F 0008                move.w     D0, [A7 + 0x8]
  3888. 00002894  B06F 0018                cmp.w      D0, [A7 + 0x18]
  3889. 00002898  660A                     bne        +0xC /* 000028A4 */
  3890. 0000289A  302F 000A                move.w     D0, [A7 + 0xA]
  3891. 0000289E  B06F 001A                cmp.w      D0, [A7 + 0x1A]
  3892. 000028A2  6730                     beq        +0x32 /* 000028D4 */
  3893. label000028A4:
  3894. 000028A4  3F6F 000A 000E           move.w     [A7 + 0xE], [A7 + 0xA]
  3895. 000028AA  302A 002C                move.w     D0, [A2 + 0x2C]
  3896. 000028AE  48C0                     ext.l      D0
  3897. 000028B0  5C80                     addq.l     D0, 6
  3898. 000028B2  916F 000A                sub.w      [A7 + 0xA], D0
  3899. 000028B6  486F 0008                pea.l      [A7 + 0x8]
  3900. 000028BA  A928                     syscall    InvalRect
  3901. 000028BC  3F6F 001A 001E           move.w     [A7 + 0x1E], [A7 + 0x1A]
  3902. 000028C2  302A 002C                move.w     D0, [A2 + 0x2C]
  3903. 000028C6  48C0                     ext.l      D0
  3904. 000028C8  5C80                     addq.l     D0, 6
  3905. 000028CA  916F 001A                sub.w      [A7 + 0x1A], D0
  3906. 000028CE  486F 0018                pea.l      [A7 + 0x18]
  3907. 000028D2  A928                     syscall    InvalRect
  3908. label000028D4:
  3909. 000028D4  4AAA 0004                tst.l      [A2 + 0x4]
  3910. 000028D8  6700 00B4                beq        +0xB6 /* 0000298E */
  3911. 000028DC  4AAA 0034                tst.l      [A2 + 0x34]
  3912. 000028E0  6700 00AC                beq        +0xAE /* 0000298E */
  3913. 000028E4  286A 0004                movea.l    A4, [A2 + 0x4]
  3914. 000028E8  2854                     movea.l    A4, [A4]
  3915. 000028EA  548C                     addq.l     A4, 2
  3916. 000028EC  4AAA 0024                tst.l      [A2 + 0x24]
  3917. 000028F0  6734                     beq        +0x36 /* 00002926 */
  3918. 000028F2  266A 0024                movea.l    A3, [A2 + 0x24]
  3919. 000028F6  2653                     movea.l    A3, [A3]
  3920. 000028F8  508B                     addq.l     A3, 8
  3921. 000028FA  302B 0006                move.w     D0, [A3 + 0x6]
  3922. 000028FE  48C0                     ext.l      D0
  3923. 00002900  5E80                     addq.l     D0, 7
  3924. 00002902  3F40 0012                move.w     [A7 + 0x12], D0
  3925. 00002906  48C0                     ext.l      D0
  3926. 00002908  7217                     moveq.l    D1, 0x17
  3927. 0000290A  D081                     add.l      D0, D1
  3928. 0000290C  3F40 0016                move.w     [A7 + 0x16], D0
  3929. 00002910  3013                     move.w     D0, [A3]
  3930. 00002912  48C0                     ext.l      D0
  3931. 00002914  5780                     subq.l     D0, 3
  3932. 00002916  3F40 0010                move.w     [A7 + 0x10], D0
  3933. 0000291A  48C0                     ext.l      D0
  3934. 0000291C  7216                     moveq.l    D1, 0x16
  3935. 0000291E  D081                     add.l      D0, D1
  3936. 00002920  3F40 0014                move.w     [A7 + 0x14], D0
  3937. 00002924  6036                     bra        +0x38 /* 0000295C */
  3938. label00002926:
  3939. 00002926  4A83                     tst.l      D3
  3940. 00002928  6706                     beq        +0x8 /* 00002930 */
  3941. 0000292A  3F44 0012                move.w     [A7 + 0x12], D4
  3942. 0000292E  600A                     bra        +0xC /* 0000293A */
  3943. label00002930:
  3944. 00002930  3F7C 0004 0012           move.w     [A7 + 0x12], 0x4
  3945. 00002936  0653 001A                addi.w     [A3], 0x1A
  3946. label0000293A:
  3947. 0000293A  302F 0012                move.w     D0, [A7 + 0x12]
  3948. 0000293E  48C0                     ext.l      D0
  3949. 00002940  7217                     moveq.l    D1, 0x17
  3950. 00002942  D081                     add.l      D0, D1
  3951. 00002944  3F40 0016                move.w     [A7 + 0x16], D0
  3952. 00002948  3013                     move.w     D0, [A3]
  3953. 0000294A  48C0                     ext.l      D0
  3954. 0000294C  5780                     subq.l     D0, 3
  3955. 0000294E  3F40 0014                move.w     [A7 + 0x14], D0
  3956. 00002952  48C0                     ext.l      D0
  3957. 00002954  72EA                     moveq.l    D1, 0xFFFFFFEA
  3958. 00002956  D081                     add.l      D0, D1
  3959. 00002958  3F40 0010                move.w     [A7 + 0x10], D0
  3960. label0000295C:
  3961. 0000295C  554F                     subq.w     A7, 2
  3962. 0000295E  486F 0012                pea.l      [A7 + 0x12]
  3963. 00002962  2F0C                     move.l     -[A7], A4
  3964. 00002964  A8A6                     syscall    EqualRect
  3965. 00002966  101F                     move.b     D0, [A7]+
  3966. 00002968  6624                     bne        +0x26 /* 0000298E */
  3967. 0000296A  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  3968. 0000296E  A927                     syscall    InvalRgn
  3969. 00002970  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  3970. 00002974  A8D9                     syscall    DisposRgn/DisposeRgn
  3971. 00002976  486F 0010                pea.l      [A7 + 0x10]
  3972. 0000297A  4EAD DCE8                jsr        [A5 - 0x2318]
  3973. 0000297E  2548 0004                move.l     [A2 + 0x4], A0
  3974. 00002982  2008                     move.l     D0, A0
  3975. 00002984  584F                     addq.w     A7, 4
  3976. 00002986  6706                     beq        +0x8 /* 0000298E */
  3977. 00002988  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  3978. 0000298C  A927                     syscall    InvalRgn
  3979. label0000298E:
  3980. 0000298E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  3981. 00002992  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  3982. 00002996  4E75                     rts
  3983. fn00002998:
  3984. 00002998  2F0A                     move.l     -[A7], A2
  3985. 0000299A  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  3986. 0000299E  246F 0014                movea.l    A2, [A7 + 0x14]
  3987. 000029A2  4227                     clr.b      -[A7]
  3988. 000029A4  486F 0006                pea.l      [A7 + 0x6]
  3989. 000029A8  486F 000E                pea.l      [A7 + 0xE]
  3990. 000029AC  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  3991. 000029B0  4EBA 2D80                jsr        [PC + 0x2D80 /* 00005732 */]
  3992. 000029B4  7002                     moveq.l    D0, 0x02
  3993. 000029B6  B0AF 0012                cmp.l      D0, [A7 + 0x12]
  3994. 000029BA  5DC0                     slt        D0
  3995. 000029BC  4400                     neg.b      D0
  3996. 000029BE  4880                     ext.w      D0
  3997. 000029C0  48C0                     ext.l      D0
  3998. 000029C2  2F40 000E                move.l     [A7 + 0xE], D0
  3999. 000029C6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4000. 000029CA  6018                     bra        +0x1A /* 000029E4 */
  4001. label000029CC:
  4002. 000029CC  206F 0008                movea.l    A0, [A7 + 0x8]
  4003. 000029D0  0CA8 544F 5043 004C      cmpi.l     [A0 + 0x4C], 0x544F5043 /* 'TOPC' */
  4004. 000029D8  660A                     bne        +0xC /* 000029E4 */
  4005. 000029DA  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  4006. 000029DE  4EAD EA68                jsr        [A5 - 0x1598]
  4007. 000029E2  584F                     addq.w     A7, 4
  4008. label000029E4:
  4009. 000029E4  1F3C 0001                move.b     -[A7], 0x1
  4010. 000029E8  486F 0006                pea.l      [A7 + 0x6]
  4011. 000029EC  486F 000E                pea.l      [A7 + 0xE]
  4012. 000029F0  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4013. 000029F4  4EBA 2D3C                jsr        [PC + 0x2D3C /* 00005732 */]
  4014. 000029F8  4A80                     tst.l      D0
  4015. 000029FA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4016. 000029FE  66CC                     bne        -0x32 /* 000029CC */
  4017. 00002A00  1F3C 0002                move.b     -[A7], 0x2
  4018. 00002A04  486F 0006                pea.l      [A7 + 0x6]
  4019. 00002A08  486F 000E                pea.l      [A7 + 0xE]
  4020. 00002A0C  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4021. 00002A10  4EBA 2D20                jsr        [PC + 0x2D20 /* 00005732 */]
  4022. 00002A14  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  4023. 00002A18  245F                     movea.l    A2, [A7]+
  4024. 00002A1A  4E75                     rts
  4025. fn00002A1C:
  4026. 00002A1C  48E7 0030                movem.l    -[A7], A2,A3
  4027. 00002A20  554F                     subq.w     A7, 2
  4028. 00002A22  246F 000E                movea.l    A2, [A7 + 0xE]
  4029. 00002A26  266F 0012                movea.l    A3, [A7 + 0x12]
  4030. 00002A2A  4AAB 0030                tst.l      [A3 + 0x30]
  4031. 00002A2E  673C                     beq        +0x3E /* 00002A6C */
  4032. 00002A30  4857                     pea.l      [A7]
  4033. 00002A32  2F0B                     move.l     -[A7], A3
  4034. 00002A34  2F0A                     move.l     -[A7], A2
  4035. 00002A36  4EBA FB08                jsr        [PC - 0x4F8 /* 00002540 */]
  4036. 00002A3A  486F 000C                pea.l      [A7 + 0xC]
  4037. 00002A3E  2F0B                     move.l     -[A7], A3
  4038. 00002A40  2F0A                     move.l     -[A7], A2
  4039. 00002A42  4EBA FC2E                jsr        [PC - 0x3D2 /* 00002672 */]
  4040. 00002A46  302F 0018                move.w     D0, [A7 + 0x18]
  4041. 00002A4A  B06A 0044                cmp.w      D0, [A2 + 0x44]
  4042. 00002A4E  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4043. 00002A52  6718                     beq        +0x1A /* 00002A6C */
  4044. 00002A54  206A 0048                movea.l    A0, [A2 + 0x48]
  4045. 00002A58  4868 0010                pea.l      [A0 + 0x10]
  4046. 00002A5C  A928                     syscall    InvalRect
  4047. 00002A5E  3557 0044                move.w     [A2 + 0x44], [A7]
  4048. 00002A62  3F17                     move.w     -[A7], [A7]
  4049. 00002A64  2F0A                     move.l     -[A7], A2
  4050. 00002A66  4EBA FF30                jsr        [PC - 0xD0 /* 00002998 */]
  4051. 00002A6A  5C4F                     addq.w     A7, 6
  4052. label00002A6C:
  4053. 00002A6C  544F                     addq.w     A7, 2
  4054. 00002A6E  4CDF 0C00                movem.l    A2,A3, [A7]+
  4055. 00002A72  4E75                     rts
  4056. fn00002A74:
  4057. 00002A74  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  4058. 00002A78  286F 0018                movea.l    A4, [A7 + 0x18]
  4059. 00002A7C  2C6F 001C                movea.l    A6, [A7 + 0x1C]
  4060. 00002A80  200C                     move.l     D0, A4
  4061. 00002A82  6756                     beq        +0x58 /* 00002ADA */
  4062. 00002A84  2F0C                     move.l     -[A7], A4
  4063. 00002A86  4EAD DD80                jsr        [A5 - 0x2280]
  4064. 00002A8A  2448                     movea.l    A2, A0
  4065. 00002A8C  200E                     move.l     D0, A6
  4066. 00002A8E  584F                     addq.w     A7, 4
  4067. 00002A90  670E                     beq        +0x10 /* 00002AA0 */
  4068. 00002A92  2F16                     move.l     -[A7], [A6]
  4069. 00002A94  4EAD DA8A                jsr        [A5 - 0x2576]
  4070. 00002A98  2648                     movea.l    A3, A0
  4071. 00002A9A  2008                     move.l     D0, A0
  4072. 00002A9C  584F                     addq.w     A7, 4
  4073. 00002A9E  6608                     bne        +0xA /* 00002AA8 */
  4074. label00002AA0:
  4075. 00002AA0  91C8                     sub.l      A0, A0
  4076. 00002AA2  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4077. 00002AA6  4E75                     rts
  4078. label00002AA8:
  4079. 00002AA8  594F                     subq.w     A7, 4
  4080. 00002AAA  2F0C                     move.l     -[A7], A4
  4081. 00002AAC  4EAD D9AC                jsr        [A5 - 0x2654]
  4082. 00002AB0  201F                     move.l     D0, [A7]+
  4083. 00002AB2  223C 0000 0112           move.l     D1, 0x112
  4084. 00002AB8  4EAD D8FE                jsr        [A5 - 0x2702]
  4085. 00002ABC  2600                     move.l     D3, D0
  4086. 00002ABE  6012                     bra        +0x14 /* 00002AD2 */
  4087. label00002AC0:
  4088. 00002AC0  B7EA 0108                cmpa.l     A3, [A2 + 0x108]
  4089. 00002AC4  6608                     bne        +0xA /* 00002ACE */
  4090. 00002AC6  204A                     movea.l    A0, A2
  4091. 00002AC8  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4092. 00002ACC  4E75                     rts
  4093. label00002ACE:
  4094. 00002ACE  45EA 0112                lea.l      A2, [A2 + 0x112]
  4095. label00002AD2:
  4096. 00002AD2  2003                     move.l     D0, D3
  4097. 00002AD4  5383                     subq.l     D3, 1
  4098. 00002AD6  4A80                     tst.l      D0
  4099. 00002AD8  66E6                     bne        -0x18 /* 00002AC0 */
  4100. label00002ADA:
  4101. 00002ADA  91C8                     sub.l      A0, A0
  4102. 00002ADC  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4103. 00002AE0  4E75                     rts
  4104. fn00002AE2:
  4105. 00002AE2  48E7 0038                movem.l    -[A7], A2,A3,A4
  4106. 00002AE6  286F 0010                movea.l    A4, [A7 + 0x10]
  4107. 00002AEA  4227                     clr.b      -[A7]
  4108. 00002AEC  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  4109. 00002AF0  2F0C                     move.l     -[A7], A4
  4110. 00002AF2  4EBA 2B8C                jsr        [PC + 0x2B8C /* 00005680 */]
  4111. 00002AF6  2648                     movea.l    A3, A0
  4112. 00002AF8  2008                     move.l     D0, A0
  4113. 00002AFA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4114. 00002AFE  6754                     beq        +0x56 /* 00002B54 */
  4115. 00002B00  206B 0050                movea.l    A0, [A3 + 0x50]
  4116. 00002B04  2450                     movea.l    A2, [A0]
  4117. 00002B06  7000                     moveq.l    D0, 0x00
  4118. 00002B08  102F 0018                move.b     D0, [A7 + 0x18]
  4119. 00002B0C  0C80 0000 0004           cmpi.l     D0, 0x4
  4120. 00002B12  6230                     bhi        +0x32 /* 00002B44 */
  4121. 00002B14  D040                     add.w      D0, D0
  4122. 00002B16  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  4123. 00002B1A  4EFB 0002                jmp        [PC + D0.w + 0x2]
  4124. 00002B1E  000A 0010                ori.b      A2, 0x10
  4125. 00002B22  0016 001C                ori.b      [A6], 0x1C
  4126. 00002B26  0022 42AA                ori.b      -[A2], 0xAA
  4127. 00002B2A  0010 6016                ori.b      [A0], 0x16
  4128. 00002B2E  42AA 0014                clr.l      [A2 + 0x14]
  4129. 00002B32  6010                     bra        +0x12 /* 00002B44 */
  4130. 00002B34  42AA 0018                clr.l      [A2 + 0x18]
  4131. 00002B38  600A                     bra        +0xC /* 00002B44 */
  4132. 00002B3A  42AA 001C                clr.l      [A2 + 0x1C]
  4133. 00002B3E  6004                     bra        +0x6 /* 00002B44 */
  4134. 00002B40  42AA 0020                clr.l      [A2 + 0x20]
  4135. label00002B44:
  4136. 00002B44  1F3C 0002                move.b     -[A7], 0x2
  4137. 00002B48  42A7                     clr.l      -[A7]
  4138. 00002B4A  2F0C                     move.l     -[A7], A4
  4139. 00002B4C  4EBA 2B32                jsr        [PC + 0x2B32 /* 00005680 */]
  4140. 00002B50  4FEF 000A                lea.l      A7, [A7 + 0xA]
  4141. label00002B54:
  4142. 00002B54  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  4143. 00002B58  4E75                     rts
  4144. fn00002B5A:
  4145. 00002B5A  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  4146. 00002B5E  4FEF FFD6                lea.l      A7, [A7 - 0x2A]
  4147. 00002B62  266F 0046                movea.l    A3, [A7 + 0x46]
  4148. 00002B66  246F 004A                movea.l    A2, [A7 + 0x4A]
  4149. 00002B6A  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  4150. 00002B6E  4EAD EA08                jsr        [A5 - 0x15F8]
  4151. 00002B72  2C48                     movea.l    A6, A0
  4152. 00002B74  4227                     clr.b      -[A7]
  4153. 00002B76  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  4154. 00002B7A  4EAD E9C8                jsr        [A5 - 0x1638]
  4155. 00002B7E  2848                     movea.l    A4, A0
  4156. 00002B80  397C FFFF 002C           move.w     [A4 + 0x2C], 0xFFFF
  4157. 00002B86  2F0C                     move.l     -[A7], A4
  4158. 00002B88  2F0E                     move.l     -[A7], A6
  4159. 00002B8A  2F0A                     move.l     -[A7], A2
  4160. 00002B8C  2F0B                     move.l     -[A7], A3
  4161. 00002B8E  4EBA F4DA                jsr        [PC - 0xB26 /* 0000206A */]
  4162. 00002B92  4A80                     tst.l      D0
  4163. 00002B94  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  4164. 00002B98  6600 00E2                bne        +0xE4 /* 00002C7C */
  4165. 00002B9C  206A 0024                movea.l    A0, [A2 + 0x24]
  4166. 00002BA0  2610                     move.l     D3, [A0]
  4167. 00002BA2  2043                     movea.l    A0, D3
  4168. 00002BA4  4A68 003C                tst.w      [A0 + 0x3C]
  4169. 00002BA8  6700 00D2                beq        +0xD4 /* 00002C7C */
  4170. 00002BAC  3EAA 0038                move.w     [A7], [A2 + 0x38]
  4171. 00002BB0  486F 0002                pea.l      [A7 + 0x2]
  4172. 00002BB4  486F 0004                pea.l      [A7 + 0x4]
  4173. 00002BB8  2F28 003E                move.l     -[A7], [A0 + 0x3E]
  4174. 00002BBC  42A7                     clr.l      -[A7]
  4175. 00002BBE  4EBA E1CA                jsr        [PC - 0x1E36 /* 00000D8A */]
  4176. 00002BC2  2C48                     movea.l    A6, A0
  4177. 00002BC4  200E                     move.l     D0, A6
  4178. 00002BC6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4179. 00002BCA  6700 00B0                beq        +0xB2 /* 00002C7C */
  4180. 00002BCE  2F0E                     move.l     -[A7], A6
  4181. 00002BD0  4EAD DD80                jsr        [A5 - 0x2280]
  4182. 00002BD4  2808                     move.l     D4, A0
  4183. 00002BD6  4AAF 0006                tst.l      [A7 + 0x6]
  4184. 00002BDA  584F                     addq.w     A7, 4
  4185. 00002BDC  670E                     beq        +0x10 /* 00002BEC */
  4186. 00002BDE  206A 0024                movea.l    A0, [A2 + 0x24]
  4187. 00002BE2  2050                     movea.l    A0, [A0]
  4188. 00002BE4  3268 003C                movea.w    A1, [A0 + 0x3C]
  4189. 00002BE8  2609                     move.l     D3, A1
  4190. 00002BEA  6010                     bra        +0x12 /* 00002BFC */
  4191. label00002BEC:
  4192. 00002BEC  2044                     movea.l    A0, D4
  4193. 00002BEE  41E8 0008                lea.l      A0, [A0 + 0x8]
  4194. 00002BF2  70FF                     moveq.l    D0, 0xFFFFFFFF
  4195. label00002BF4:
  4196. 00002BF4  5280                     addq.l     D0, 1
  4197. 00002BF6  4A18                     tst.b      [A0]+
  4198. 00002BF8  66FA                     bne        -0x4 /* 00002BF4 */
  4199. 00002BFA  2600                     move.l     D3, D0
  4200. label00002BFC:
  4201. 00002BFC  3957 002C                move.w     [A4 + 0x2C], [A7]
  4202. 00002C00  4A92                     tst.l      [A2]
  4203. 00002C02  6708                     beq        +0xA /* 00002C0C */
  4204. 00002C04  2052                     movea.l    A0, [A2]
  4205. 00002C06  2003                     move.l     D0, D3
  4206. 00002C08  A024                     syscall    SetHandleSize
  4207. 00002C0A  6006                     bra        +0x8 /* 00002C12 */
  4208. label00002C0C:
  4209. 00002C0C  2003                     move.l     D0, D3
  4210. 00002C0E  A122                     syscall    NewHandle, flags=1
  4211. 00002C10  2488                     move.l     [A2], A0
  4212. label00002C12:
  4213. 00002C12  554F                     subq.w     A7, 2
  4214. 00002C14  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  4215. 00002C18  301F                     move.w     D0, [A7]+
  4216. 00002C1A  6658                     bne        +0x5A /* 00002C74 */
  4217. 00002C1C  41ED 8ABC                lea.l      A0, [A5 - 0x7544]
  4218. 00002C20  43EF 0006                lea.l      A1, [A7 + 0x6]
  4219. 00002C24  7008                     moveq.l    D0, 0x08
  4220. label00002C26:
  4221. 00002C26  22D8                     move.l     [A1]+, [A0]+
  4222. 00002C28  51C8 FFFC                dbf        D0, -0x6 /* 00002C26 */
  4223. 00002C2C  2816                     move.l     D4, [A6]
  4224. 00002C2E  2044                     movea.l    A0, D4
  4225. 00002C30  41E8 0008                lea.l      A0, [A0 + 0x8]
  4226. 00002C34  2252                     movea.l    A1, [A2]
  4227. 00002C36  2251                     movea.l    A1, [A1]
  4228. 00002C38  2003                     move.l     D0, D3
  4229. 00002C3A  A02E                     syscall    BlockMove/BlockMoveData
  4230. 00002C3C  2044                     movea.l    A0, D4
  4231. 00002C3E  2F50 001A                move.l     [A7 + 0x1A], [A0]
  4232. 00002C42  2F68 0004 001E           move.l     [A7 + 0x1E], [A0 + 0x4]
  4233. 00002C48  002F 0040 0026           ori.b      [A7 + 0x26], 0x40 /* '@' */
  4234. 00002C4E  422F 0028                clr.b      [A7 + 0x28]
  4235. 00002C52  1F7C 0001 0027           move.b     [A7 + 0x27], 0x1
  4236. 00002C58  2F52 000E                move.l     [A7 + 0xE], [A2]
  4237. 00002C5C  2F43 0022                move.l     [A7 + 0x22], D3
  4238. 00002C60  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  4239. 00002C64  486F 000A                pea.l      [A7 + 0xA]
  4240. 00002C68  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  4241. 00002C6C  4EAD EA00                jsr        [A5 - 0x1600]
  4242. 00002C70  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4243. label00002C74:
  4244. 00002C74  2F0E                     move.l     -[A7], A6
  4245. 00002C76  4EAD DD88                jsr        [A5 - 0x2278]
  4246. 00002C7A  584F                     addq.w     A7, 4
  4247. label00002C7C:
  4248. 00002C7C  2F0C                     move.l     -[A7], A4
  4249. 00002C7E  2F0A                     move.l     -[A7], A2
  4250. 00002C80  2F0B                     move.l     -[A7], A3
  4251. 00002C82  4EBA EF28                jsr        [PC - 0x10D8 /* 00001BAC */]
  4252. 00002C86  1F3C 0001                move.b     -[A7], 0x1
  4253. 00002C8A  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  4254. 00002C8E  4EAD E9C8                jsr        [A5 - 0x1638]
  4255. 00002C92  4FEF 003C                lea.l      A7, [A7 + 0x3C]
  4256. 00002C96  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  4257. 00002C9A  4E75                     rts
  4258. fn00002C9C:
  4259. 00002C9C  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  4260. 00002CA0  514F                     subq.w     A7, 8
  4261. 00002CA2  286F 001C                movea.l    A4, [A7 + 0x1C]
  4262. 00002CA6  45ED B61A                lea.l      A2, [A5 - 0x49E6]
  4263. 00002CAA  2654                     movea.l    A3, [A4]
  4264. 00002CAC  602E                     bra        +0x30 /* 00002CDC */
  4265. label00002CAE:
  4266. 00002CAE  2052                     movea.l    A0, [A2]
  4267. 00002CB0  70FF                     moveq.l    D0, 0xFFFFFFFF
  4268. label00002CB2:
  4269. 00002CB2  5280                     addq.l     D0, 1
  4270. 00002CB4  4A18                     tst.b      [A0]+
  4271. 00002CB6  66FA                     bne        -0x4 /* 00002CB2 */
  4272. 00002CB8  2600                     move.l     D3, D0
  4273. 00002CBA  302B 003C                move.w     D0, [A3 + 0x3C]
  4274. 00002CBE  48C0                     ext.l      D0
  4275. 00002CC0  B083                     cmp.l      D0, D3
  4276. 00002CC2  6616                     bne        +0x18 /* 00002CDA */
  4277. 00002CC4  2F03                     move.l     -[A7], D3
  4278. 00002CC6  206B 003E                movea.l    A0, [A3 + 0x3E]
  4279. 00002CCA  2F10                     move.l     -[A7], [A0]
  4280. 00002CCC  2F12                     move.l     -[A7], [A2]
  4281. 00002CCE  4EAD D946                jsr        [A5 - 0x26BA]
  4282. 00002CD2  4A80                     tst.l      D0
  4283. 00002CD4  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4284. 00002CD8  6706                     beq        +0x8 /* 00002CE0 */
  4285. label00002CDA:
  4286. 00002CDA  508A                     addq.l     A2, 8
  4287. label00002CDC:
  4288. 00002CDC  4A92                     tst.l      [A2]
  4289. 00002CDE  66CE                     bne        -0x30 /* 00002CAE */
  4290. label00002CE0:
  4291. 00002CE0  4AAA 0004                tst.l      [A2 + 0x4]
  4292. 00002CE4  673A                     beq        +0x3C /* 00002D20 */
  4293. 00002CE6  2EAB 0008                move.l     [A7], [A3 + 0x8]
  4294. 00002CEA  2F6B 000C 0004           move.l     [A7 + 0x4], [A3 + 0xC]
  4295. 00002CF0  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  4296. 00002CF4  206A 0004                movea.l    A0, [A2 + 0x4]
  4297. 00002CF8  70FF                     moveq.l    D0, 0xFFFFFFFF
  4298. label00002CFA:
  4299. 00002CFA  5280                     addq.l     D0, 1
  4300. 00002CFC  4A18                     tst.b      [A0]+
  4301. 00002CFE  66FA                     bne        -0x4 /* 00002CFA */
  4302. 00002D00  2F00                     move.l     -[A7], D0
  4303. 00002D02  2F0C                     move.l     -[A7], A4
  4304. 00002D04  A9CF                     syscall    TESetText
  4305. 00002D06  4857                     pea.l      [A7]
  4306. 00002D08  2F0C                     move.l     -[A7], A4
  4307. 00002D0A  A9D3                     syscall    TEUpdate
  4308. 00002D0C  42A7                     clr.l      -[A7]
  4309. 00002D0E  4878 7FFF                push.l     0x7FFF
  4310. 00002D12  2F0C                     move.l     -[A7], A4
  4311. 00002D14  A9D1                     syscall    TESetSelect
  4312. 00002D16  7001                     moveq.l    D0, 0x01
  4313. 00002D18  504F                     addq.w     A7, 8
  4314. 00002D1A  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  4315. 00002D1E  4E75                     rts
  4316. label00002D20:
  4317. 00002D20  7000                     moveq.l    D0, 0x00
  4318. 00002D22  504F                     addq.w     A7, 8
  4319. 00002D24  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  4320. 00002D28  4E75                     rts
  4321. fn00002D2A:
  4322. 00002D2A  2F0A                     move.l     -[A7], A2
  4323. 00002D2C  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  4324. 00002D30  246F 0018                movea.l    A2, [A7 + 0x18]
  4325. 00002D34  4AAD 8C2C                tst.l      [A5 - 0x73D4]
  4326. 00002D38  6614                     bne        +0x16 /* 00002D4E */
  4327. 00002D3A  2F2F 001C                move.l     -[A7], [A7 + 0x1C]
  4328. 00002D3E  2F2A 0048                move.l     -[A7], [A2 + 0x48]
  4329. 00002D42  4EAD E3D8                jsr        [A5 - 0x1C28]
  4330. 00002D46  4FEF 0018                lea.l      A7, [A7 + 0x18]
  4331. 00002D4A  245F                     movea.l    A2, [A7]+
  4332. 00002D4C  4E75                     rts
  4333. label00002D4E:
  4334. 00002D4E  4AAA 0050                tst.l      [A2 + 0x50]
  4335. 00002D52  6748                     beq        +0x4A /* 00002D9C */
  4336. 00002D54  206A 0050                movea.l    A0, [A2 + 0x50]
  4337. 00002D58  2050                     movea.l    A0, [A0]
  4338. 00002D5A  2F68 0024 0008           move.l     [A7 + 0x8], [A0 + 0x24]
  4339. 00002D60  2F68 0028 000C           move.l     [A7 + 0xC], [A0 + 0x28]
  4340. 00002D66  4AAF 0008                tst.l      [A7 + 0x8]
  4341. 00002D6A  6730                     beq        +0x32 /* 00002D9C */
  4342. 00002D6C  206F 0008                movea.l    A0, [A7 + 0x8]
  4343. 00002D70  2050                     movea.l    A0, [A0]
  4344. 00002D72  2EA8 0008                move.l     [A7], [A0 + 0x8]
  4345. 00002D76  2F68 000C 0004           move.l     [A7 + 0x4], [A0 + 0xC]
  4346. 00002D7C  4857                     pea.l      [A7]
  4347. 00002D7E  4EAD DD50                jsr        [A5 - 0x22B0]
  4348. 00002D82  4AAF 0020                tst.l      [A7 + 0x20]
  4349. 00002D86  584F                     addq.w     A7, 4
  4350. 00002D88  6708                     beq        +0xA /* 00002D92 */
  4351. 00002D8A  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  4352. 00002D8E  A9D8                     syscall    TEActivate
  4353. 00002D90  6006                     bra        +0x8 /* 00002D98 */
  4354. label00002D92:
  4355. 00002D92  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  4356. 00002D96  A9D9                     syscall    TEDeactivate
  4357. label00002D98:
  4358. 00002D98  4EAD DD58                jsr        [A5 - 0x22A8]
  4359. label00002D9C:
  4360. 00002D9C  4FEF 0010                lea.l      A7, [A7 + 0x10]
  4361. 00002DA0  245F                     movea.l    A2, [A7]+
  4362. 00002DA2  4E75                     rts
  4363. fn00002DA4:
  4364. 00002DA4  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  4365. 00002DA8  286F 001C                movea.l    A4, [A7 + 0x1C]
  4366. 00002DAC  382F 0020                move.w     D4, [A7 + 0x20]
  4367. 00002DB0  246C 0024                movea.l    A2, [A4 + 0x24]
  4368. 00002DB4  2452                     movea.l    A2, [A2]
  4369. 00002DB6  508A                     addq.l     A2, 8
  4370. 00002DB8  266F 0018                movea.l    A3, [A7 + 0x18]
  4371. 00002DBC  266B 0048                movea.l    A3, [A3 + 0x48]
  4372. 00002DC0  508B                     addq.l     A3, 8
  4373. 00002DC2  508B                     addq.l     A3, 8
  4374. 00002DC4  362A 0002                move.w     D3, [A2 + 0x2]
  4375. 00002DC8  3612                     move.w     D3, [A2]
  4376. 00002DCA  302C 002E                move.w     D0, [A4 + 0x2E]
  4377. 00002DCE  48C0                     ext.l      D0
  4378. 00002DD0  5680                     addq.l     D0, 3
  4379. 00002DD2  9640                     sub.w      D3, D0
  4380. 00002DD4  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  4381. 00002DD8  3004                     move.w     D0, D4
  4382. 00002DDA  48C0                     ext.l      D0
  4383. 00002DDC  322B 0002                move.w     D1, [A3 + 0x2]
  4384. 00002DE0  48C1                     ext.l      D1
  4385. 00002DE2  D280                     add.l      D1, D0
  4386. 00002DE4  3F01                     move.w     -[A7], D1
  4387. 00002DE6  3F03                     move.w     -[A7], D3
  4388. 00002DE8  3004                     move.w     D0, D4
  4389. 00002DEA  48C0                     ext.l      D0
  4390. 00002DEC  322B 0006                move.w     D1, [A3 + 0x6]
  4391. 00002DF0  48C1                     ext.l      D1
  4392. 00002DF2  9280                     sub.l      D1, D0
  4393. 00002DF4  3F01                     move.w     -[A7], D1
  4394. 00002DF6  302C 002E                move.w     D0, [A4 + 0x2E]
  4395. 00002DFA  48C0                     ext.l      D0
  4396. 00002DFC  3203                     move.w     D1, D3
  4397. 00002DFE  48C1                     ext.l      D1
  4398. 00002E00  D280                     add.l      D1, D0
  4399. 00002E02  3F01                     move.w     -[A7], D1
  4400. 00002E04  A8A7                     syscall    SetRect
  4401. 00002E06  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  4402. 00002E0A  4E75                     rts
  4403. fn00002E0C:
  4404. 00002E0C  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  4405. 00002E10  514F                     subq.w     A7, 8
  4406. 00002E12  246F 001C                movea.l    A2, [A7 + 0x1C]
  4407. 00002E16  266F 0020                movea.l    A3, [A7 + 0x20]
  4408. 00002E1A  286F 0024                movea.l    A4, [A7 + 0x24]
  4409. 00002E1E  206A 0048                movea.l    A0, [A2 + 0x48]
  4410. 00002E22  3028 0012                move.w     D0, [A0 + 0x12]
  4411. 00002E26  48C0                     ext.l      D0
  4412. 00002E28  206A 0048                movea.l    A0, [A2 + 0x48]
  4413. 00002E2C  3628 0016                move.w     D3, [A0 + 0x16]
  4414. 00002E30  48C3                     ext.l      D3
  4415. 00002E32  9680                     sub.l      D3, D0
  4416. 00002E34  377C 0004 002C           move.w     [A3 + 0x2C], 0x4
  4417. 00002E3A  4EAD DD60                jsr        [A5 - 0x22A0]
  4418. 00002E3E  3F3C 0001                move.w     -[A7], 0x1
  4419. 00002E42  A887                     syscall    TextFont
  4420. 00002E44  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  4421. 00002E48  A88A                     syscall    TextSize
  4422. 00002E4A  4857                     pea.l      [A7]
  4423. 00002E4C  42A7                     clr.l      -[A7]
  4424. 00002E4E  3003                     move.w     D0, D3
  4425. 00002E50  48C0                     ext.l      D0
  4426. 00002E52  5180                     subq.l     D0, 8
  4427. 00002E54  3F00                     move.w     -[A7], D0
  4428. 00002E56  3F3C 03E8                move.w     -[A7], 0x3E8
  4429. 00002E5A  A8A7                     syscall    SetRect
  4430. 00002E5C  594F                     subq.w     A7, 4
  4431. 00002E5E  486F 0004                pea.l      [A7 + 0x4]
  4432. 00002E62  486F 0008                pea.l      [A7 + 0x8]
  4433. 00002E66  A9D2                     syscall    TENew
  4434. 00002E68  205F                     movea.l    A0, [A7]+
  4435. 00002E6A  2448                     movea.l    A2, A0
  4436. 00002E6C  200A                     move.l     D0, A2
  4437. 00002E6E  6722                     beq        +0x24 /* 00002E92 */
  4438. 00002E70  486C 0001                pea.l      [A4 + 0x1]
  4439. 00002E74  7000                     moveq.l    D0, 0x00
  4440. 00002E76  1014                     move.b     D0, [A4]
  4441. 00002E78  2F00                     move.l     -[A7], D0
  4442. 00002E7A  2F0A                     move.l     -[A7], A2
  4443. 00002E7C  A9CF                     syscall    TESetText
  4444. 00002E7E  2852                     movea.l    A4, [A2]
  4445. 00002E80  302C 005E                move.w     D0, [A4 + 0x5E]
  4446. 00002E84  C1EC 0018                muls.w     D0, [A4 + 0x18]
  4447. 00002E88  3740 002E                move.w     [A3 + 0x2E], D0
  4448. 00002E8C  2F0A                     move.l     -[A7], A2
  4449. 00002E8E  A9CD                     syscall    TEDispose
  4450. 00002E90  600C                     bra        +0xE /* 00002E9E */
  4451. label00002E92:
  4452. 00002E92  42A7                     clr.l      -[A7]
  4453. 00002E94  4EAD DD90                jsr        [A5 - 0x2270]
  4454. 00002E98  3740 002E                move.w     [A3 + 0x2E], D0
  4455. 00002E9C  584F                     addq.w     A7, 4
  4456. label00002E9E:
  4457. 00002E9E  506B 002E                addq.w     [A3 + 0x2E], 8
  4458. 00002EA2  4EAD DD68                jsr        [A5 - 0x2298]
  4459. 00002EA6  504F                     addq.w     A7, 8
  4460. 00002EA8  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  4461. 00002EAC  4E75                     rts
  4462. 00002EAE  48E7 003A                movem.l    -[A7], A2,A3,A4,A6
  4463. 00002EB2  4FEF FFF2                lea.l      A7, [A7 - 0xE]
  4464. 00002EB6  246F 0022                movea.l    A2, [A7 + 0x22]
  4465. 00002EBA  206A 0050                movea.l    A0, [A2 + 0x50]
  4466. 00002EBE  2C50                     movea.l    A6, [A0]
  4467. 00002EC0  594F                     subq.w     A7, 4
  4468. 00002EC2  302D 135E                move.w     D0, [A5 + 0x135E]
  4469. 00002EC6  48C0                     ext.l      D0
  4470. 00002EC8  0680 0000 0081           addi.l     D0, 0x81
  4471. 00002ECE  3F00                     move.w     -[A7], D0
  4472. 00002ED0  A9BA                     syscall    GetString
  4473. 00002ED2  205F                     movea.l    A0, [A7]+
  4474. 00002ED4  2648                     movea.l    A3, A0
  4475. 00002ED6  2F0B                     move.l     -[A7], A3
  4476. 00002ED8  4EAD DD80                jsr        [A5 - 0x2280]
  4477. 00002EDC  2848                     movea.l    A4, A0
  4478. 00002EDE  3F3C 0001                move.w     -[A7], 0x1
  4479. 00002EE2  A887                     syscall    TextFont
  4480. 00002EE4  3F3C 0009                move.w     -[A7], 0x9 /* '\t' */
  4481. 00002EE8  A88A                     syscall    TextSize
  4482. 00002EEA  4EAD DD70                jsr        [A5 - 0x2290]
  4483. 00002EEE  302F 0030                move.w     D0, [A7 + 0x30]
  4484. 00002EF2  48C0                     ext.l      D0
  4485. 00002EF4  7202                     moveq.l    D1, 0x02
  4486. 00002EF6  B081                     cmp.l      D0, D1
  4487. 00002EF8  584F                     addq.w     A7, 4
  4488. 00002EFA  6F18                     ble        +0x1A /* 00002F14 */
  4489. 00002EFC  3F7C DDDE 000C           move.w     [A7 + 0xC], 0xDDDE
  4490. 00002F02  3F7C DDDE 000A           move.w     [A7 + 0xA], 0xDDDE
  4491. 00002F08  3F7C DDDE 0008           move.w     [A7 + 0x8], 0xDDDE
  4492. 00002F0E  486F 0008                pea.l      [A7 + 0x8]
  4493. 00002F12  AA15                     syscall    RGBBackColor
  4494. label00002F14:
  4495. 00002F14  4857                     pea.l      [A7]
  4496. 00002F16  3F3C 0004                move.w     -[A7], 0x4
  4497. 00002F1A  2F0E                     move.l     -[A7], A6
  4498. 00002F1C  2F0A                     move.l     -[A7], A2
  4499. 00002F1E  4EBA FE84                jsr        [PC - 0x17C /* 00002DA4 */]
  4500. 00002F22  486C 0001                pea.l      [A4 + 0x1]
  4501. 00002F26  7000                     moveq.l    D0, 0x00
  4502. 00002F28  1014                     move.b     D0, [A4]
  4503. 00002F2A  2F00                     move.l     -[A7], D0
  4504. 00002F2C  486F 0016                pea.l      [A7 + 0x16]
  4505. 00002F30  4267                     clr.w      -[A7]
  4506. 00002F32  A9CE                     syscall    TETextBox/TextBox
  4507. 00002F34  4EAD DD78                jsr        [A5 - 0x2288]
  4508. 00002F38  2F0B                     move.l     -[A7], A3
  4509. 00002F3A  4EAD DD88                jsr        [A5 - 0x2278]
  4510. 00002F3E  4FEF 0020                lea.l      A7, [A7 + 0x20]
  4511. 00002F42  4CDF 5C00                movem.l    A2,A3,A4,A6, [A7]+
  4512. 00002F46  205F                     movea.l    A0, [A7]+
  4513. 00002F48  4FEF 000C                lea.l      A7, [A7 + 0xC]
  4514. 00002F4C  4ED0                     jmp        [A0]
  4515. 00002F4E  4AAD 8D0A                tst.l      [A5 - 0x72F6]
  4516. 00002F52  670E                     beq        +0x10 /* 00002F62 */
  4517. 00002F54  206D 8D0A                movea.l    A0, [A5 - 0x72F6]
  4518. 00002F58  A023                     syscall    DisposHandle/DisposeHandle
  4519. 00002F5A  42AD 8D0A                clr.l      [A5 - 0x72F6]
  4520. 00002F5E  42AD 8D06                clr.l      [A5 - 0x72FA]
  4521. label00002F62:
  4522. 00002F62  4E75                     rts
  4523. 00002F64  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  4524. 00002F68  2C6F 0018                movea.l    A6, [A7 + 0x18]
  4525. 00002F6C  286F 001C                movea.l    A4, [A7 + 0x1C]
  4526. 00002F70  266F 0020                movea.l    A3, [A7 + 0x20]
  4527. 00002F74  4AAD 8D0A                tst.l      [A5 - 0x72F6]
  4528. 00002F78  6608                     bne        +0xA /* 00002F82 */
  4529. 00002F7A  7000                     moveq.l    D0, 0x00
  4530. 00002F7C  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4531. 00002F80  4E75                     rts
  4532. label00002F82:
  4533. 00002F82  206D 8D0A                movea.l    A0, [A5 - 0x72F6]
  4534. 00002F86  2450                     movea.l    A2, [A0]
  4535. 00002F88  7600                     moveq.l    D3, 0x00
  4536. 00002F8A  6024                     bra        +0x26 /* 00002FB0 */
  4537. label00002F8C:
  4538. 00002F8C  2F0E                     move.l     -[A7], A6
  4539. 00002F8E  2F0A                     move.l     -[A7], A2
  4540. 00002F90  4EAD DE70                jsr        [A5 - 0x2190]
  4541. 00002F94  4A80                     tst.l      D0
  4542. 00002F96  504F                     addq.w     A7, 8
  4543. 00002F98  6710                     beq        +0x12 /* 00002FAA */
  4544. 00002F9A  38AA 007E                move.w     [A4], [A2 + 0x7E]
  4545. 00002F9E  36AA 007C                move.w     [A3], [A2 + 0x7C]
  4546. 00002FA2  7001                     moveq.l    D0, 0x01
  4547. 00002FA4  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4548. 00002FA8  4E75                     rts
  4549. label00002FAA:
  4550. 00002FAA  5283                     addq.l     D3, 1
  4551. 00002FAC  45EA 0080                lea.l      A2, [A2 + 0x80]
  4552. label00002FB0:
  4553. 00002FB0  B6AD 8D06                cmp.l      D3, [A5 - 0x72FA]
  4554. 00002FB4  6DD6                     blt        -0x28 /* 00002F8C */
  4555. 00002FB6  7000                     moveq.l    D0, 0x00
  4556. 00002FB8  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  4557. 00002FBC  4E75                     rts
  4558. 00002FBE  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  4559. 00002FC2  4FEF FF70                lea.l      A7, [A7 - 0x90]
  4560. 00002FC6  246F 00A4                movea.l    A2, [A7 + 0xA4]
  4561. 00002FCA  3A2F 00A8                move.w     D5, [A7 + 0xA8]
  4562. 00002FCE  382F 00AA                move.w     D4, [A7 + 0xAA]
  4563. 00002FD2  41ED 8C86                lea.l      A0, [A5 - 0x737A]
  4564. 00002FD6  43EF 0010                lea.l      A1, [A7 + 0x10]
  4565. 00002FDA  701F                     moveq.l    D0, 0x1F
  4566. label00002FDC:
  4567. 00002FDC  22D8                     move.l     [A1]+, [A0]+
  4568. 00002FDE  51C8 FFFC                dbf        D0, -0x6 /* 00002FDC */
  4569. 00002FE2  7000                     moveq.l    D0, 0x00
  4570. 00002FE4  A122                     syscall    NewHandle, flags=1
  4571. 00002FE6  2F48 0056                move.l     [A7 + 0x56], A0
  4572. 00002FEA  554F                     subq.w     A7, 2
  4573. 00002FEC  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  4574. 00002FF0  301F                     move.w     D0, [A7]+
  4575. 00002FF2  3600                     move.w     D3, D0
  4576. 00002FF4  6600 0104                bne        +0x106 /* 000030FA */
  4577. 00002FF8  3004                     move.w     D0, D4
  4578. 00002FFA  48C0                     ext.l      D0
  4579. 00002FFC  4A80                     tst.l      D0
  4580. 00002FFE  6D14                     blt        +0x16 /* 00003014 */
  4581. 00003000  486F 005C                pea.l      [A7 + 0x5C]
  4582. 00003004  3F04                     move.w     -[A7], D4
  4583. 00003006  4EAD E1E0                jsr        [A5 - 0x1E20]
  4584. 0000300A  3600                     move.w     D3, D0
  4585. 0000300C  5C4F                     addq.w     A7, 6
  4586. 0000300E  671A                     beq        +0x1C /* 0000302A */
  4587. 00003010  6000 00E8                bra        +0xEA /* 000030FA */
  4588. label00003014:
  4589. 00003014  7078                     moveq.l    D0, 0x78
  4590. 00003016  A122                     syscall    NewHandle, flags=1
  4591. 00003018  2F48 005C                move.l     [A7 + 0x5C], A0
  4592. 0000301C  554F                     subq.w     A7, 2
  4593. 0000301E  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  4594. 00003022  301F                     move.w     D0, [A7]+
  4595. 00003024  3600                     move.w     D3, D0
  4596. 00003026  6600 00D2                bne        +0xD4 /* 000030FA */
  4597. label0000302A:
  4598. 0000302A  7000                     moveq.l    D0, 0x00
  4599. 0000302C  A122                     syscall    NewHandle, flags=1
  4600. 0000302E  2F48 0064                move.l     [A7 + 0x64], A0
  4601. 00003032  554F                     subq.w     A7, 2
  4602. 00003034  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  4603. 00003038  301F                     move.w     D0, [A7]+
  4604. 0000303A  3600                     move.w     D3, D0
  4605. 0000303C  6600 00BC                bne        +0xBE /* 000030FA */
  4606. 00003040  7000                     moveq.l    D0, 0x00
  4607. 00003042  A122                     syscall    NewHandle, flags=1
  4608. 00003044  2F48 006C                move.l     [A7 + 0x6C], A0
  4609. 00003048  554F                     subq.w     A7, 2
  4610. 0000304A  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  4611. 0000304E  301F                     move.w     D0, [A7]+
  4612. 00003050  3600                     move.w     D3, D0
  4613. 00003052  6600 00A6                bne        +0xA8 /* 000030FA */
  4614. 00003056  7000                     moveq.l    D0, 0x00
  4615. 00003058  A122                     syscall    NewHandle, flags=1
  4616. 0000305A  2F48 0070                move.l     [A7 + 0x70], A0
  4617. 0000305E  554F                     subq.w     A7, 2
  4618. 00003060  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  4619. 00003064  301F                     move.w     D0, [A7]+
  4620. 00003066  3600                     move.w     D3, D0
  4621. 00003068  6600 0090                bne        +0x92 /* 000030FA */
  4622. 0000306C  554F                     subq.w     A7, 2
  4623. 0000306E  3F12                     move.w     -[A7], [A2]
  4624. 00003070  2F2A 0002                move.l     -[A7], [A2 + 0x2]
  4625. 00003074  486A 0006                pea.l      [A2 + 0x6]
  4626. 00003078  486F 000C                pea.l      [A7 + 0xC]
  4627. 0000307C  4EAD DA06                jsr        [A5 - 0x25FA]
  4628. 00003080  301F                     move.w     D0, [A7]+
  4629. 00003082  2F57 007C                move.l     [A7 + 0x7C], [A7]
  4630. 00003086  4EAD E0D8                jsr        [A5 - 0x1F28]
  4631. 0000308A  2F48 0074                move.l     [A7 + 0x74], A0
  4632. 0000308E  4AAF 0074                tst.l      [A7 + 0x74]
  4633. 00003092  6604                     bne        +0x6 /* 00003098 */
  4634. 00003094  7694                     moveq.l    D3, 0xFFFFFF94
  4635. 00003096  6062                     bra        +0x64 /* 000030FA */
  4636. label00003098:
  4637. 00003098  2F2F 007C                move.l     -[A7], [A7 + 0x7C]
  4638. 0000309C  2F2F 0078                move.l     -[A7], [A7 + 0x78]
  4639. 000030A0  4EBA 0E60                jsr        [PC + 0xE60 /* 00003F02 */]
  4640. 000030A4  3600                     move.w     D3, D0
  4641. 000030A6  4A43                     tst.w      D3
  4642. 000030A8  504F                     addq.w     A7, 8
  4643. 000030AA  664E                     bne        +0x50 /* 000030FA */
  4644. 000030AC  41D2                     lea.l      A0, [A2]
  4645. 000030AE  43EF 0010                lea.l      A1, [A7 + 0x10]
  4646. 000030B2  7010                     moveq.l    D0, 0x10
  4647. label000030B4:
  4648. 000030B4  22D8                     move.l     [A1]+, [A0]+
  4649. 000030B6  51C8 FFFC                dbf        D0, -0x6 /* 000030B4 */
  4650. 000030BA  32D8                     move.w     [A1]+, [A0]+
  4651. 000030BC  3F44 008C                move.w     [A7 + 0x8C], D4
  4652. 000030C0  3F45 008E                move.w     [A7 + 0x8E], D5
  4653. 000030C4  7001                     moveq.l    D0, 0x01
  4654. 000030C6  2F40 0088                move.l     [A7 + 0x88], D0
  4655. 000030CA  4AAD 8D0A                tst.l      [A5 - 0x72F6]
  4656. 000030CE  6714                     beq        +0x16 /* 000030E4 */
  4657. 000030D0  41EF 0010                lea.l      A0, [A7 + 0x10]
  4658. 000030D4  226D 8D0A                movea.l    A1, [A5 - 0x72F6]
  4659. 000030D8  203C 0000 0080           move.l     D0, 0x80
  4660. 000030DE  A9EF                     syscall    PtrAndHand
  4661. 000030E0  3600                     move.w     D3, D0
  4662. 000030E2  6016                     bra        +0x18 /* 000030FA */
  4663. label000030E4:
  4664. 000030E4  554F                     subq.w     A7, 2
  4665. 000030E6  486F 0012                pea.l      [A7 + 0x12]
  4666. 000030EA  486D 8D0A                pea.l      [A5 - 0x72F6]
  4667. 000030EE  4878 0080                push.l     0x80
  4668. 000030F2  4EAD DA36                jsr        [A5 - 0x25CA]
  4669. 000030F6  301F                     move.w     D0, [A7]+
  4670. 000030F8  3600                     move.w     D3, D0
  4671. label000030FA:
  4672. 000030FA  4A43                     tst.w      D3
  4673. 000030FC  6606                     bne        +0x8 /* 00003104 */
  4674. 000030FE  52AD 8D06                addq.l     [A5 - 0x72FA], 1
  4675. 00003102  604C                     bra        +0x4E /* 00003150 */
  4676. label00003104:
  4677. 00003104  4AAF 0056                tst.l      [A7 + 0x56]
  4678. 00003108  6706                     beq        +0x8 /* 00003110 */
  4679. 0000310A  206F 0056                movea.l    A0, [A7 + 0x56]
  4680. 0000310E  A023                     syscall    DisposHandle/DisposeHandle
  4681. label00003110:
  4682. 00003110  4AAF 005C                tst.l      [A7 + 0x5C]
  4683. 00003114  6706                     beq        +0x8 /* 0000311C */
  4684. 00003116  206F 005C                movea.l    A0, [A7 + 0x5C]
  4685. 0000311A  A023                     syscall    DisposHandle/DisposeHandle
  4686. label0000311C:
  4687. 0000311C  4AAF 0064                tst.l      [A7 + 0x64]
  4688. 00003120  6706                     beq        +0x8 /* 00003128 */
  4689. 00003122  206F 0064                movea.l    A0, [A7 + 0x64]
  4690. 00003126  A023                     syscall    DisposHandle/DisposeHandle
  4691. label00003128:
  4692. 00003128  4AAF 006C                tst.l      [A7 + 0x6C]
  4693. 0000312C  6706                     beq        +0x8 /* 00003134 */
  4694. 0000312E  206F 006C                movea.l    A0, [A7 + 0x6C]
  4695. 00003132  A023                     syscall    DisposHandle/DisposeHandle
  4696. label00003134:
  4697. 00003134  4AAF 0070                tst.l      [A7 + 0x70]
  4698. 00003138  6706                     beq        +0x8 /* 00003140 */
  4699. 0000313A  206F 0070                movea.l    A0, [A7 + 0x70]
  4700. 0000313E  A023                     syscall    DisposHandle/DisposeHandle
  4701. label00003140:
  4702. 00003140  4AAF 0074                tst.l      [A7 + 0x74]
  4703. 00003144  670A                     beq        +0xC /* 00003150 */
  4704. 00003146  2F2F 0074                move.l     -[A7], [A7 + 0x74]
  4705. 0000314A  4EAD E0E0                jsr        [A5 - 0x1F20]
  4706. 0000314E  584F                     addq.w     A7, 4
  4707. label00003150:
  4708. 00003150  3003                     move.w     D0, D3
  4709. 00003152  4FEF 0090                lea.l      A7, [A7 + 0x90]
  4710. 00003156  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  4711. 0000315A  4E75                     rts
  4712. fn0000315C:
  4713. 0000315C  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  4714. 00003160  514F                     subq.w     A7, 8
  4715. 00003162  3C2F 0024                move.w     D6, [A7 + 0x24]
  4716. 00003166  486F 0004                pea.l      [A7 + 0x4]
  4717. 0000316A  3F06                     move.w     -[A7], D6
  4718. 0000316C  4EBA 0B30                jsr        [PC + 0xB30 /* 00003C9E */]
  4719. 00003170  2A00                     move.l     D5, D0
  4720. 00003172  4A80                     tst.l      D0
  4721. 00003174  5C4F                     addq.w     A7, 6
  4722. 00003176  6D00 0240                blt        +0x242 /* 000033B8 */
  4723. 0000317A  2005                     move.l     D0, D5
  4724. 0000317C  EF88                     lsl        D0, 7
  4725. 0000317E  2E80                     move.l     [A7], D0
  4726. 00003180  2F2D 8D0A                move.l     -[A7], [A5 - 0x72F6]
  4727. 00003184  4EAD DD80                jsr        [A5 - 0x2280]
  4728. 00003188  D1EF 0004                add.l      A0, [A7 + 0x4]
  4729. 0000318C  2648                     movea.l    A3, A0
  4730. 0000318E  102B 004A                move.b     D0, [A3 + 0x4A]
  4731. 00003192  7201                     moveq.l    D1, 0x01
  4732. 00003194  C081                     and.l      D0, D1
  4733. 00003196  584F                     addq.w     A7, 4
  4734. 00003198  6706                     beq        +0x8 /* 000031A0 */
  4735. 0000319A  4267                     clr.w      -[A7]
  4736. 0000319C  4EAD DF88                jsr        [A5 - 0x2078]
  4737. label000031A0:
  4738. 000031A0  4AAB 0046                tst.l      [A3 + 0x46]
  4739. 000031A4  675E                     beq        +0x60 /* 00003204 */
  4740. 000031A6  594F                     subq.w     A7, 4
  4741. 000031A8  2F2B 0046                move.l     -[A7], [A3 + 0x46]
  4742. 000031AC  4EAD D9AC                jsr        [A5 - 0x2654]
  4743. 000031B0  201F                     move.l     D0, [A7]+
  4744. 000031B2  223C 0000 0112           move.l     D1, 0x112
  4745. 000031B8  4EAD D8FE                jsr        [A5 - 0x2702]
  4746. 000031BC  2800                     move.l     D4, D0
  4747. 000031BE  2F2B 0046                move.l     -[A7], [A3 + 0x46]
  4748. 000031C2  4EAD DD80                jsr        [A5 - 0x2280]
  4749. 000031C6  2448                     movea.l    A2, A0
  4750. 000031C8  7600                     moveq.l    D3, 0x00
  4751. 000031CA  584F                     addq.w     A7, 4
  4752. 000031CC  6022                     bra        +0x24 /* 000031F0 */
  4753. label000031CE:
  4754. 000031CE  4AAA 0104                tst.l      [A2 + 0x104]
  4755. 000031D2  6706                     beq        +0x8 /* 000031DA */
  4756. 000031D4  206A 0104                movea.l    A0, [A2 + 0x104]
  4757. 000031D8  A023                     syscall    DisposHandle/DisposeHandle
  4758. label000031DA:
  4759. 000031DA  4AAA 0108                tst.l      [A2 + 0x108]
  4760. 000031DE  670A                     beq        +0xC /* 000031EA */
  4761. 000031E0  2F2A 0108                move.l     -[A7], [A2 + 0x108]
  4762. 000031E4  4EAD DA84                jsr        [A5 - 0x257C]
  4763. 000031E8  584F                     addq.w     A7, 4
  4764. label000031EA:
  4765. 000031EA  5283                     addq.l     D3, 1
  4766. 000031EC  45EA 0112                lea.l      A2, [A2 + 0x112]
  4767. label000031F0:
  4768. 000031F0  B684                     cmp.l      D3, D4
  4769. 000031F2  6DDA                     blt        -0x24 /* 000031CE */
  4770. 000031F4  2F2B 0046                move.l     -[A7], [A3 + 0x46]
  4771. 000031F8  4EAD DD88                jsr        [A5 - 0x2278]
  4772. 000031FC  206B 0046                movea.l    A0, [A3 + 0x46]
  4773. 00003200  A023                     syscall    DisposHandle/DisposeHandle
  4774. 00003202  584F                     addq.w     A7, 4
  4775. label00003204:
  4776. 00003204  4AAB 004C                tst.l      [A3 + 0x4C]
  4777. 00003208  6732                     beq        +0x34 /* 0000323C */
  4778. 0000320A  302B 007C                move.w     D0, [A3 + 0x7C]
  4779. 0000320E  48C0                     ext.l      D0
  4780. 00003210  4A80                     tst.l      D0
  4781. 00003212  6D22                     blt        +0x24 /* 00003236 */
  4782. 00003214  2F2B 004C                move.l     -[A7], [A3 + 0x4C]
  4783. 00003218  3F2B 007C                move.w     -[A7], [A3 + 0x7C]
  4784. 0000321C  4EAD E1E8                jsr        [A5 - 0x1E18]
  4785. 00003220  3600                     move.w     D3, D0
  4786. 00003222  4A43                     tst.w      D3
  4787. 00003224  5C4F                     addq.w     A7, 6
  4788. 00003226  6714                     beq        +0x16 /* 0000323C */
  4789. 00003228  3F03                     move.w     -[A7], D3
  4790. 0000322A  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  4791. 0000322E  4EAD DE98                jsr        [A5 - 0x2168]
  4792. 00003232  584F                     addq.w     A7, 4
  4793. 00003234  6006                     bra        +0x8 /* 0000323C */
  4794. label00003236:
  4795. 00003236  206B 004C                movea.l    A0, [A3 + 0x4C]
  4796. 0000323A  A023                     syscall    DisposHandle/DisposeHandle
  4797. label0000323C:
  4798. 0000323C  4AAB 0054                tst.l      [A3 + 0x54]
  4799. 00003240  6720                     beq        +0x22 /* 00003262 */
  4800. 00003242  4878 000C                push.l     0xC
  4801. 00003246  42A7                     clr.l      -[A7]
  4802. 00003248  3F3C 0002                move.w     -[A7], 0x2
  4803. 0000324C  4878 0010                push.l     0x10
  4804. 00003250  2F2B 0054                move.l     -[A7], [A3 + 0x54]
  4805. 00003254  4EAD DE18                jsr        [A5 - 0x21E8]
  4806. 00003258  206B 0054                movea.l    A0, [A3 + 0x54]
  4807. 0000325C  A023                     syscall    DisposHandle/DisposeHandle
  4808. 0000325E  4FEF 0012                lea.l      A7, [A7 + 0x12]
  4809. label00003262:
  4810. 00003262  2F0B                     move.l     -[A7], A3
  4811. 00003264  4EBA 0B52                jsr        [PC + 0xB52 /* 00003DB8 */]
  4812. 00003268  4AAB 0060                tst.l      [A3 + 0x60]
  4813. 0000326C  584F                     addq.w     A7, 4
  4814. 0000326E  671E                     beq        +0x20 /* 0000328E */
  4815. 00003270  4878 0004                push.l     0x4
  4816. 00003274  3F3C 0001                move.w     -[A7], 0x1
  4817. 00003278  4878 0008                push.l     0x8
  4818. 0000327C  2F2B 0060                move.l     -[A7], [A3 + 0x60]
  4819. 00003280  4EAD DE18                jsr        [A5 - 0x21E8]
  4820. 00003284  206B 0060                movea.l    A0, [A3 + 0x60]
  4821. 00003288  A023                     syscall    DisposHandle/DisposeHandle
  4822. 0000328A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4823. label0000328E:
  4824. 0000328E  4AAB 0064                tst.l      [A3 + 0x64]
  4825. 00003292  670A                     beq        +0xC /* 0000329E */
  4826. 00003294  2F2B 0064                move.l     -[A7], [A3 + 0x64]
  4827. 00003298  4EAD E0E0                jsr        [A5 - 0x1F20]
  4828. 0000329C  584F                     addq.w     A7, 4
  4829. label0000329E:
  4830. 0000329E  4AAB 0050                tst.l      [A3 + 0x50]
  4831. 000032A2  671E                     beq        +0x20 /* 000032C2 */
  4832. 000032A4  4878 0046                push.l     0x46 /* 'F' */
  4833. 000032A8  3F3C 0001                move.w     -[A7], 0x1
  4834. 000032AC  4878 0056                push.l     0x56 /* 'V' */
  4835. 000032B0  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  4836. 000032B4  4EAD DE18                jsr        [A5 - 0x21E8]
  4837. 000032B8  206B 0050                movea.l    A0, [A3 + 0x50]
  4838. 000032BC  A023                     syscall    DisposHandle/DisposeHandle
  4839. 000032BE  4FEF 000E                lea.l      A7, [A7 + 0xE]
  4840. label000032C2:
  4841. 000032C2  4AAB 0070                tst.l      [A3 + 0x70]
  4842. 000032C6  6762                     beq        +0x64 /* 0000332A */
  4843. 000032C8  2F2B 0070                move.l     -[A7], [A3 + 0x70]
  4844. 000032CC  4EAD DD80                jsr        [A5 - 0x2280]
  4845. 000032D0  2448                     movea.l    A2, A0
  4846. 000032D2  2F2B 0070                move.l     -[A7], [A3 + 0x70]
  4847. 000032D6  4EAD D9AC                jsr        [A5 - 0x2654]
  4848. 000032DA  201F                     move.l     D0, [A7]+
  4849. 000032DC  7256                     moveq.l    D1, 0x56
  4850. 000032DE  4EAD D8FE                jsr        [A5 - 0x2702]
  4851. 000032E2  2800                     move.l     D4, D0
  4852. 000032E4  7600                     moveq.l    D3, 0x00
  4853. 000032E6  602E                     bra        +0x30 /* 00003316 */
  4854. label000032E8:
  4855. 000032E8  4AAA 004E                tst.l      [A2 + 0x4E]
  4856. 000032EC  670A                     beq        +0xC /* 000032F8 */
  4857. 000032EE  2F2A 004E                move.l     -[A7], [A2 + 0x4E]
  4858. 000032F2  4EBA 0C32                jsr        [PC + 0xC32 /* 00003F26 */]
  4859. 000032F6  584F                     addq.w     A7, 4
  4860. label000032F8:
  4861. 000032F8  4AAA 004A                tst.l      [A2 + 0x4A]
  4862. 000032FC  6706                     beq        +0x8 /* 00003304 */
  4863. 000032FE  2F2A 004A                move.l     -[A7], [A2 + 0x4A]
  4864. 00003302  AA24                     syscall    DisposeCTable/DisposCTable
  4865. label00003304:
  4866. 00003304  4AAA 0046                tst.l      [A2 + 0x46]
  4867. 00003308  6706                     beq        +0x8 /* 00003310 */
  4868. 0000330A  2F2A 0046                move.l     -[A7], [A2 + 0x46]
  4869. 0000330E  A8F5                     syscall    KillPicture
  4870. label00003310:
  4871. 00003310  5283                     addq.l     D3, 1
  4872. 00003312  7056                     moveq.l    D0, 0x56
  4873. 00003314  D5C0                     add.l      A2, D0
  4874. label00003316:
  4875. 00003316  B684                     cmp.l      D3, D4
  4876. 00003318  6DCE                     blt        -0x30 /* 000032E8 */
  4877. 0000331A  2F2B 0070                move.l     -[A7], [A3 + 0x70]
  4878. 0000331E  4EAD DD88                jsr        [A5 - 0x2278]
  4879. 00003322  206B 0070                movea.l    A0, [A3 + 0x70]
  4880. 00003326  A023                     syscall    DisposHandle/DisposeHandle
  4881. 00003328  584F                     addq.w     A7, 4
  4882. label0000332A:
  4883. 0000332A  4AAB 0074                tst.l      [A3 + 0x74]
  4884. 0000332E  6740                     beq        +0x42 /* 00003370 */
  4885. 00003330  2F2B 0074                move.l     -[A7], [A3 + 0x74]
  4886. 00003334  4EAD DD80                jsr        [A5 - 0x2280]
  4887. 00003338  2448                     movea.l    A2, A0
  4888. 0000333A  2F2B 0074                move.l     -[A7], [A3 + 0x74]
  4889. 0000333E  4EAD D9AC                jsr        [A5 - 0x2654]
  4890. 00003342  201F                     move.l     D0, [A7]+
  4891. 00003344  E688                     lsr        D0, 3
  4892. 00003346  2800                     move.l     D4, D0
  4893. 00003348  7600                     moveq.l    D3, 0x00
  4894. 0000334A  6010                     bra        +0x12 /* 0000335C */
  4895. label0000334C:
  4896. 0000334C  4A92                     tst.l      [A2]
  4897. 0000334E  6708                     beq        +0xA /* 00003358 */
  4898. 00003350  2F12                     move.l     -[A7], [A2]
  4899. 00003352  4EBA 0BD2                jsr        [PC + 0xBD2 /* 00003F26 */]
  4900. 00003356  584F                     addq.w     A7, 4
  4901. label00003358:
  4902. 00003358  5283                     addq.l     D3, 1
  4903. 0000335A  508A                     addq.l     A2, 8
  4904. label0000335C:
  4905. 0000335C  B684                     cmp.l      D3, D4
  4906. 0000335E  6DEC                     blt        -0x12 /* 0000334C */
  4907. 00003360  2F2B 0074                move.l     -[A7], [A3 + 0x74]
  4908. 00003364  4EAD DD88                jsr        [A5 - 0x2278]
  4909. 00003368  206B 0074                movea.l    A0, [A3 + 0x74]
  4910. 0000336C  A023                     syscall    DisposHandle/DisposeHandle
  4911. 0000336E  584F                     addq.w     A7, 4
  4912. label00003370:
  4913. 00003370  4AAD B2D8                tst.l      [A5 - 0x4D28]
  4914. 00003374  670E                     beq        +0x10 /* 00003384 */
  4915. 00003376  3F2B 007C                move.w     -[A7], [A3 + 0x7C]
  4916. 0000337A  A99A                     syscall    CloseResFile
  4917. 0000337C  3F06                     move.w     -[A7], D6
  4918. 0000337E  4EAD DAFC                jsr        [A5 - 0x2504]
  4919. 00003382  544F                     addq.w     A7, 2
  4920. label00003384:
  4921. 00003384  53AF 0004                subq.l     [A7 + 0x4], 1
  4922. 00003388  BAAF 0004                cmp.l      D5, [A7 + 0x4]
  4923. 0000338C  6C10                     bge        +0x12 /* 0000339E */
  4924. 0000338E  41EB 0080                lea.l      A0, [A3 + 0x80]
  4925. 00003392  224B                     movea.l    A1, A3
  4926. 00003394  202F 0004                move.l     D0, [A7 + 0x4]
  4927. 00003398  9085                     sub.l      D0, D5
  4928. 0000339A  EF88                     lsl        D0, 7
  4929. 0000339C  A02E                     syscall    BlockMove/BlockMoveData
  4930. label0000339E:
  4931. 0000339E  2F2D 8D0A                move.l     -[A7], [A5 - 0x72F6]
  4932. 000033A2  4EAD DD88                jsr        [A5 - 0x2278]
  4933. 000033A6  206D 8D0A                movea.l    A0, [A5 - 0x72F6]
  4934. 000033AA  202F 0008                move.l     D0, [A7 + 0x8]
  4935. 000033AE  EF88                     lsl        D0, 7
  4936. 000033B0  A024                     syscall    SetHandleSize
  4937. 000033B2  53AD 8D06                subq.l     [A5 - 0x72FA], 1
  4938. 000033B6  584F                     addq.w     A7, 4
  4939. label000033B8:
  4940. 000033B8  504F                     addq.w     A7, 8
  4941. 000033BA  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  4942. 000033BE  4E75                     rts
  4943. fn000033C0:
  4944. 000033C0  48E7 1020                movem.l    -[A7], D3,A2
  4945. 000033C4  42A7                     clr.l      -[A7]
  4946. 000033C6  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  4947. 000033CA  4EBA 08D2                jsr        [PC + 0x8D2 /* 00003C9E */]
  4948. 000033CE  2600                     move.l     D3, D0
  4949. 000033D0  4A83                     tst.l      D3
  4950. 000033D2  5C4F                     addq.w     A7, 6
  4951. 000033D4  6D00 00B4                blt        +0xB6 /* 0000348A */
  4952. 000033D8  2003                     move.l     D0, D3
  4953. 000033DA  EF88                     lsl        D0, 7
  4954. 000033DC  246D 8D0A                movea.l    A2, [A5 - 0x72F6]
  4955. 000033E0  2452                     movea.l    A2, [A2]
  4956. 000033E2  D5C0                     add.l      A2, D0
  4957. 000033E4  7000                     moveq.l    D0, 0x00
  4958. 000033E6  102F 000E                move.b     D0, [A7 + 0xE]
  4959. 000033EA  0C80 0000 000A           cmpi.l     D0, 0xA /* '\n' */
  4960. 000033F0  6200 0098                bhi        +0x9A /* 0000348A */
  4961. 000033F4  D040                     add.w      D0, D0
  4962. 000033F6  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  4963. 000033FA  4EFB 0002                jmp        [PC + D0.w + 0x2]
  4964. 000033FE  0016 0020                ori.b      [A6], 0x20 /* ' ' */
  4965. 00003402  008C 0036 0040           ori.l      A4, 0x360040 /* '6\0@' */
  4966. 00003408  004C 0056                ori.w      A4, 0x56 /* 'V' */
  4967. 0000340C  0060 006C                ori.w      -[A0], 0x6C /* 'l' */
  4968. 00003410  0076 0082 206A           ori.w      [A6 + D2.w + 0x6A], 0x82
  4969. 00003416  0046 4CDF                ori.w      D6, 0x4CDF
  4970. 0000341A  0408 4E75                subi.b     A0, 0x75 /* 'u' */
  4971. 0000341E  4AAD B2D8                tst.l      [A5 - 0x4D28]
  4972. 00003422  6606                     bne        +0x8 /* 0000342A */
  4973. 00003424  206A 004C                movea.l    A0, [A2 + 0x4C]
  4974. 00003428  6004                     bra        +0x6 /* 0000342E */
  4975. label0000342A:
  4976. 0000342A  4EAD FF60                jsr        [A5 - 0xA0]
  4977. label0000342E:
  4978. 0000342E  4CDF 0408                movem.l    D3,A2, [A7]+
  4979. 00003432  4E75                     rts
  4980. 00003434  206A 0054                movea.l    A0, [A2 + 0x54]
  4981. 00003438  4CDF 0408                movem.l    D3,A2, [A7]+
  4982. 0000343C  4E75                     rts
  4983. 0000343E  204A                     movea.l    A0, A2
  4984. 00003440  41E8 0058                lea.l      A0, [A0 + 0x58]
  4985. 00003444  4CDF 0408                movem.l    D3,A2, [A7]+
  4986. 00003448  4E75                     rts
  4987. 0000344A  206A 005C                movea.l    A0, [A2 + 0x5C]
  4988. 0000344E  4CDF 0408                movem.l    D3,A2, [A7]+
  4989. 00003452  4E75                     rts
  4990. 00003454  206A 0060                movea.l    A0, [A2 + 0x60]
  4991. 00003458  4CDF 0408                movem.l    D3,A2, [A7]+
  4992. 0000345C  4E75                     rts
  4993. 0000345E  204A                     movea.l    A0, A2
  4994. 00003460  41E8 0068                lea.l      A0, [A0 + 0x68]
  4995. 00003464  4CDF 0408                movem.l    D3,A2, [A7]+
  4996. 00003468  4E75                     rts
  4997. 0000346A  206A 0064                movea.l    A0, [A2 + 0x64]
  4998. 0000346E  4CDF 0408                movem.l    D3,A2, [A7]+
  4999. 00003472  4E75                     rts
  5000. 00003474  204A                     movea.l    A0, A2
  5001. 00003476  41E8 0078                lea.l      A0, [A0 + 0x78]
  5002. 0000347A  4CDF 0408                movem.l    D3,A2, [A7]+
  5003. 0000347E  4E75                     rts
  5004. 00003480  206A 006C                movea.l    A0, [A2 + 0x6C]
  5005. 00003484  4CDF 0408                movem.l    D3,A2, [A7]+
  5006. 00003488  4E75                     rts
  5007. label0000348A:
  5008. 0000348A  91C8                     sub.l      A0, A0
  5009. 0000348C  4CDF 0408                movem.l    D3,A2, [A7]+
  5010. 00003490  4E75                     rts
  5011. fn00003492:
  5012. 00003492  2F03                     move.l     -[A7], D3
  5013. 00003494  594F                     subq.w     A7, 4
  5014. 00003496  42A7                     clr.l      -[A7]
  5015. 00003498  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  5016. 0000349C  4EBA 0800                jsr        [PC + 0x800 /* 00003C9E */]
  5017. 000034A0  2600                     move.l     D3, D0
  5018. 000034A2  4A83                     tst.l      D3
  5019. 000034A4  5C4F                     addq.w     A7, 6
  5020. 000034A6  6D16                     blt        +0x18 /* 000034BE */
  5021. 000034A8  2003                     move.l     D0, D3
  5022. 000034AA  EF88                     lsl        D0, 7
  5023. 000034AC  206D 8D0A                movea.l    A0, [A5 - 0x72F6]
  5024. 000034B0  2050                     movea.l    A0, [A0]
  5025. 000034B2  D1C0                     add.l      A0, D0
  5026. 000034B4  2E88                     move.l     [A7], A0
  5027. 000034B6  102F 000E                move.b     D0, [A7 + 0xE]
  5028. 000034BA  8128 004A                or.b       [A0 + 0x4A], D0
  5029. label000034BE:
  5030. 000034BE  584F                     addq.w     A7, 4
  5031. 000034C0  261F                     move.l     D3, [A7]+
  5032. 000034C2  4E75                     rts
  5033. fn000034C4:
  5034. 000034C4  2F03                     move.l     -[A7], D3
  5035. 000034C6  594F                     subq.w     A7, 4
  5036. 000034C8  42A7                     clr.l      -[A7]
  5037. 000034CA  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  5038. 000034CE  4EBA 07CE                jsr        [PC + 0x7CE /* 00003C9E */]
  5039. 000034D2  2600                     move.l     D3, D0
  5040. 000034D4  4A83                     tst.l      D3
  5041. 000034D6  5C4F                     addq.w     A7, 6
  5042. 000034D8  6D18                     blt        +0x1A /* 000034F2 */
  5043. 000034DA  2003                     move.l     D0, D3
  5044. 000034DC  EF88                     lsl        D0, 7
  5045. 000034DE  206D 8D0A                movea.l    A0, [A5 - 0x72F6]
  5046. 000034E2  2050                     movea.l    A0, [A0]
  5047. 000034E4  D1C0                     add.l      A0, D0
  5048. 000034E6  2E88                     move.l     [A7], A0
  5049. 000034E8  1028 004A                move.b     D0, [A0 + 0x4A]
  5050. 000034EC  584F                     addq.w     A7, 4
  5051. 000034EE  261F                     move.l     D3, [A7]+
  5052. 000034F0  4E75                     rts
  5053. label000034F2:
  5054. 000034F2  7000                     moveq.l    D0, 0x00
  5055. 000034F4  584F                     addq.w     A7, 4
  5056. 000034F6  261F                     move.l     D3, [A7]+
  5057. 000034F8  4E75                     rts
  5058. 000034FA  48E7 1E38                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4
  5059. 000034FE  4FEF FFAA                lea.l      A7, [A7 - 0x56]
  5060. 00003502  42A7                     clr.l      -[A7]
  5061. 00003504  3F2F 007A                move.w     -[A7], [A7 + 0x7A]
  5062. 00003508  4EBA 0794                jsr        [PC + 0x794 /* 00003C9E */]
  5063. 0000350C  2800                     move.l     D4, D0
  5064. 0000350E  42A7                     clr.l      -[A7]
  5065. 00003510  3F2F 0082                move.w     -[A7], [A7 + 0x82]
  5066. 00003514  4EBA 0788                jsr        [PC + 0x788 /* 00003C9E */]
  5067. 00003518  2C00                     move.l     D6, D0
  5068. 0000351A  7600                     moveq.l    D3, 0x00
  5069. 0000351C  4A84                     tst.l      D4
  5070. 0000351E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5071. 00003522  6D04                     blt        +0x6 /* 00003528 */
  5072. 00003524  4A86                     tst.l      D6
  5073. 00003526  6C0A                     bge        +0xC /* 00003532 */
  5074. label00003528:
  5075. 00003528  4FEF 0056                lea.l      A7, [A7 + 0x56]
  5076. 0000352C  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  5077. 00003530  4E75                     rts
  5078. label00003532:
  5079. 00003532  2004                     move.l     D0, D4
  5080. 00003534  EF88                     lsl        D0, 7
  5081. 00003536  206D 8D0A                movea.l    A0, [A5 - 0x72F6]
  5082. 0000353A  2250                     movea.l    A1, [A0]
  5083. 0000353C  2871 0850                movea.l    A4, [A1 + D0 + 0x50]
  5084. 00003540  200C                     move.l     D0, A4
  5085. 00003542  6700 00EA                beq        +0xEC /* 0000362E */
  5086. 00003546  594F                     subq.w     A7, 4
  5087. 00003548  2F0C                     move.l     -[A7], A4
  5088. 0000354A  4EAD D9AC                jsr        [A5 - 0x2654]
  5089. 0000354E  201F                     move.l     D0, [A7]+
  5090. 00003550  7256                     moveq.l    D1, 0x56
  5091. 00003552  4EAD D8FE                jsr        [A5 - 0x2702]
  5092. 00003556  2A00                     move.l     D5, D0
  5093. 00003558  4A85                     tst.l      D5
  5094. 0000355A  6700 00D2                beq        +0xD4 /* 0000362E */
  5095. 0000355E  2006                     move.l     D0, D6
  5096. 00003560  EF88                     lsl        D0, 7
  5097. 00003562  266D 8D0A                movea.l    A3, [A5 - 0x72F6]
  5098. 00003566  2653                     movea.l    A3, [A3]
  5099. 00003568  D7C0                     add.l      A3, D0
  5100. 0000356A  246B 0050                movea.l    A2, [A3 + 0x50]
  5101. 0000356E  200A                     move.l     D0, A2
  5102. 00003570  6714                     beq        +0x16 /* 00003586 */
  5103. 00003572  594F                     subq.w     A7, 4
  5104. 00003574  2F0A                     move.l     -[A7], A2
  5105. 00003576  4EAD D9AC                jsr        [A5 - 0x2654]
  5106. 0000357A  201F                     move.l     D0, [A7]+
  5107. 0000357C  7256                     moveq.l    D1, 0x56
  5108. 0000357E  4EAD D8FE                jsr        [A5 - 0x2702]
  5109. 00003582  2800                     move.l     D4, D0
  5110. 00003584  6020                     bra        +0x22 /* 000035A6 */
  5111. label00003586:
  5112. 00003586  7800                     moveq.l    D4, 0x00
  5113. 00003588  7000                     moveq.l    D0, 0x00
  5114. 0000358A  A122                     syscall    NewHandle, flags=1
  5115. 0000358C  2448                     movea.l    A2, A0
  5116. 0000358E  554F                     subq.w     A7, 2
  5117. 00003590  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5118. 00003594  301F                     move.w     D0, [A7]+
  5119. 00003596  3600                     move.w     D3, D0
  5120. 00003598  2006                     move.l     D0, D6
  5121. 0000359A  EF88                     lsl        D0, 7
  5122. 0000359C  206D 8D0A                movea.l    A0, [A5 - 0x72F6]
  5123. 000035A0  2250                     movea.l    A1, [A0]
  5124. 000035A2  238A 0850                move.l     [A1 + D0 + 0x50], A2
  5125. label000035A6:
  5126. 000035A6  2005                     move.l     D0, D5
  5127. 000035A8  D084                     add.l      D0, D4
  5128. 000035AA  7256                     moveq.l    D1, 0x56
  5129. 000035AC  4EAD D8F8                jsr        [A5 - 0x2708]
  5130. 000035B0  204A                     movea.l    A0, A2
  5131. 000035B2  A024                     syscall    SetHandleSize
  5132. 000035B4  554F                     subq.w     A7, 2
  5133. 000035B6  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5134. 000035BA  301F                     move.w     D0, [A7]+
  5135. 000035BC  3600                     move.w     D3, D0
  5136. 000035BE  4A43                     tst.w      D3
  5137. 000035C0  665C                     bne        +0x5E /* 0000361E */
  5138. 000035C2  2F0C                     move.l     -[A7], A4
  5139. 000035C4  4EAD DD80                jsr        [A5 - 0x2280]
  5140. 000035C8  2648                     movea.l    A3, A0
  5141. 000035CA  584F                     addq.w     A7, 4
  5142. 000035CC  6040                     bra        +0x42 /* 0000360E */
  5143. label000035CE:
  5144. 000035CE  204B                     movea.l    A0, A3
  5145. 000035D0  7056                     moveq.l    D0, 0x56
  5146. 000035D2  D7C0                     add.l      A3, D0
  5147. 000035D4  43D7                     lea.l      A1, [A7]
  5148. 000035D6  7014                     moveq.l    D0, 0x14
  5149. label000035D8:
  5150. 000035D8  22D8                     move.l     [A1]+, [A0]+
  5151. 000035DA  51C8 FFFC                dbf        D0, -0x6 /* 000035D8 */
  5152. 000035DE  32D8                     move.w     [A1]+, [A0]+
  5153. 000035E0  554F                     subq.w     A7, 2
  5154. 000035E2  486F 0048                pea.l      [A7 + 0x48]
  5155. 000035E6  4EAD DA30                jsr        [A5 - 0x25D0]
  5156. 000035EA  301F                     move.w     D0, [A7]+
  5157. 000035EC  3600                     move.w     D3, D0
  5158. 000035EE  4A43                     tst.w      D3
  5159. 000035F0  6624                     bne        +0x26 /* 00003616 */
  5160. 000035F2  486D E740                pea.l      [A5 - 0x18C0]
  5161. 000035F6  4878 0056                push.l     0x56 /* 'V' */
  5162. 000035FA  2004                     move.l     D0, D4
  5163. 000035FC  5284                     addq.l     D4, 1
  5164. 000035FE  2F00                     move.l     -[A7], D0
  5165. 00003600  2F12                     move.l     -[A7], [A2]
  5166. 00003602  486F 0010                pea.l      [A7 + 0x10]
  5167. 00003606  4EBA CA00                jsr        [PC - 0x3600 /* 00000008 */]
  5168. 0000360A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5169. label0000360E:
  5170. 0000360E  2005                     move.l     D0, D5
  5171. 00003610  5385                     subq.l     D5, 1
  5172. 00003612  4A80                     tst.l      D0
  5173. 00003614  66B8                     bne        -0x46 /* 000035CE */
  5174. label00003616:
  5175. 00003616  2F0C                     move.l     -[A7], A4
  5176. 00003618  4EAD DD88                jsr        [A5 - 0x2278]
  5177. 0000361C  584F                     addq.w     A7, 4
  5178. label0000361E:
  5179. 0000361E  4A43                     tst.w      D3
  5180. 00003620  670C                     beq        +0xE /* 0000362E */
  5181. 00003622  3F03                     move.w     -[A7], D3
  5182. 00003624  3F3C 0002                move.w     -[A7], 0x2
  5183. 00003628  4EAD DE98                jsr        [A5 - 0x2168]
  5184. 0000362C  584F                     addq.w     A7, 4
  5185. label0000362E:
  5186. 0000362E  4FEF 0056                lea.l      A7, [A7 + 0x56]
  5187. 00003632  4CDF 1C78                movem.l    D3,D4,D5,D6,A2,A3,A4, [A7]+
  5188. 00003636  4E75                     rts
  5189. fn00003638:
  5190. 00003638  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  5191. 0000363C  4FEF FFA6                lea.l      A7, [A7 - 0x5A]
  5192. 00003640  266F 0070                movea.l    A3, [A7 + 0x70]
  5193. 00003644  42A7                     clr.l      -[A7]
  5194. 00003646  3F2F 0072                move.w     -[A7], [A7 + 0x72]
  5195. 0000364A  4EBA 0652                jsr        [PC + 0x652 /* 00003C9E */]
  5196. 0000364E  2600                     move.l     D3, D0
  5197. 00003650  4A83                     tst.l      D3
  5198. 00003652  5C4F                     addq.w     A7, 6
  5199. 00003654  6D00 012A                blt        +0x12C /* 00003780 */
  5200. 00003658  2003                     move.l     D0, D3
  5201. 0000365A  EF88                     lsl        D0, 7
  5202. 0000365C  2E80                     move.l     [A7], D0
  5203. 0000365E  2F2D 8D0A                move.l     -[A7], [A5 - 0x72F6]
  5204. 00003662  4EAD DD80                jsr        [A5 - 0x2280]
  5205. 00003666  D1EF 0004                add.l      A0, [A7 + 0x4]
  5206. 0000366A  2448                     movea.l    A2, A0
  5207. 0000366C  42AF 004E                clr.l      [A7 + 0x4E]
  5208. 00003670  41D2                     lea.l      A0, [A2]
  5209. 00003672  43EF 0008                lea.l      A1, [A7 + 0x8]
  5210. 00003676  7010                     moveq.l    D0, 0x10
  5211. label00003678:
  5212. 00003678  22D8                     move.l     [A1]+, [A0]+
  5213. 0000367A  51C8 FFFC                dbf        D0, -0x6 /* 00003678 */
  5214. 0000367E  32D8                     move.w     [A1]+, [A0]+
  5215. 00003680  2F6F 0078 0052           move.l     [A7 + 0x52], [A7 + 0x78]
  5216. 00003686  2F6F 007C 0056           move.l     [A7 + 0x56], [A7 + 0x7C]
  5217. 0000368C  2F6F 0080 005A           move.l     [A7 + 0x5A], [A7 + 0x80]
  5218. 00003692  7800                     moveq.l    D4, 0x00
  5219. 00003694  2F0B                     move.l     -[A7], A3
  5220. 00003696  486F 0052                pea.l      [A7 + 0x52]
  5221. 0000369A  204B                     movea.l    A0, A3
  5222. 0000369C  70FF                     moveq.l    D0, 0xFFFFFFFF
  5223. label0000369E:
  5224. 0000369E  5280                     addq.l     D0, 1
  5225. 000036A0  4A18                     tst.b      [A0]+
  5226. 000036A2  66FA                     bne        -0x4 /* 0000369E */
  5227. 000036A4  5280                     addq.l     D0, 1
  5228. 000036A6  2F00                     move.l     -[A7], D0
  5229. 000036A8  4EAD DA36                jsr        [A5 - 0x25CA]
  5230. 000036AC  301F                     move.w     D0, [A7]+
  5231. 000036AE  3800                     move.w     D4, D0
  5232. 000036B0  544F                     addq.w     A7, 2
  5233. 000036B2  6600 00A6                bne        +0xA8 /* 0000375A */
  5234. 000036B6  4AAA 0050                tst.l      [A2 + 0x50]
  5235. 000036BA  6700 0088                beq        +0x8A /* 00003744 */
  5236. 000036BE  594F                     subq.w     A7, 4
  5237. 000036C0  2F2A 0050                move.l     -[A7], [A2 + 0x50]
  5238. 000036C4  4EAD D9AC                jsr        [A5 - 0x2654]
  5239. 000036C8  201F                     move.l     D0, [A7]+
  5240. 000036CA  2600                     move.l     D3, D0
  5241. 000036CC  486D E740                pea.l      [A5 - 0x18C0]
  5242. 000036D0  4878 0056                push.l     0x56 /* 'V' */
  5243. 000036D4  2003                     move.l     D0, D3
  5244. 000036D6  7256                     moveq.l    D1, 0x56
  5245. 000036D8  4EAD D8FE                jsr        [A5 - 0x2702]
  5246. 000036DC  2F00                     move.l     -[A7], D0
  5247. 000036DE  206A 0050                movea.l    A0, [A2 + 0x50]
  5248. 000036E2  2F10                     move.l     -[A7], [A0]
  5249. 000036E4  486F 0014                pea.l      [A7 + 0x14]
  5250. 000036E8  4EAD D928                jsr        [A5 - 0x26D8]
  5251. 000036EC  2648                     movea.l    A3, A0
  5252. 000036EE  200B                     move.l     D0, A3
  5253. 000036F0  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5254. 000036F4  6712                     beq        +0x14 /* 00003708 */
  5255. 000036F6  41EF 0004                lea.l      A0, [A7 + 0x4]
  5256. 000036FA  43D3                     lea.l      A1, [A3]
  5257. 000036FC  7014                     moveq.l    D0, 0x14
  5258. label000036FE:
  5259. 000036FE  22D8                     move.l     [A1]+, [A0]+
  5260. 00003700  51C8 FFFC                dbf        D0, -0x6 /* 000036FE */
  5261. 00003704  32D8                     move.w     [A1]+, [A0]+
  5262. 00003706  6052                     bra        +0x54 /* 0000375A */
  5263. label00003708:
  5264. 00003708  206A 0050                movea.l    A0, [A2 + 0x50]
  5265. 0000370C  7056                     moveq.l    D0, 0x56
  5266. 0000370E  D083                     add.l      D0, D3
  5267. 00003710  A024                     syscall    SetHandleSize
  5268. 00003712  554F                     subq.w     A7, 2
  5269. 00003714  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5270. 00003718  301F                     move.w     D0, [A7]+
  5271. 0000371A  3800                     move.w     D4, D0
  5272. 0000371C  663C                     bne        +0x3E /* 0000375A */
  5273. 0000371E  486D E740                pea.l      [A5 - 0x18C0]
  5274. 00003722  4878 0056                push.l     0x56 /* 'V' */
  5275. 00003726  2003                     move.l     D0, D3
  5276. 00003728  7256                     moveq.l    D1, 0x56
  5277. 0000372A  4EAD D8FE                jsr        [A5 - 0x2702]
  5278. 0000372E  2F00                     move.l     -[A7], D0
  5279. 00003730  206A 0050                movea.l    A0, [A2 + 0x50]
  5280. 00003734  2F10                     move.l     -[A7], [A0]
  5281. 00003736  486F 0014                pea.l      [A7 + 0x14]
  5282. 0000373A  4EBA C8CC                jsr        [PC - 0x3734 /* 00000008 */]
  5283. 0000373E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5284. 00003742  6016                     bra        +0x18 /* 0000375A */
  5285. label00003744:
  5286. 00003744  554F                     subq.w     A7, 2
  5287. 00003746  486F 0006                pea.l      [A7 + 0x6]
  5288. 0000374A  486A 0050                pea.l      [A2 + 0x50]
  5289. 0000374E  4878 0056                push.l     0x56 /* 'V' */
  5290. 00003752  4EAD DA36                jsr        [A5 - 0x25CA]
  5291. 00003756  301F                     move.w     D0, [A7]+
  5292. 00003758  3800                     move.w     D4, D0
  5293. label0000375A:
  5294. 0000375A  4A44                     tst.w      D4
  5295. 0000375C  6718                     beq        +0x1A /* 00003776 */
  5296. 0000375E  4AAF 004A                tst.l      [A7 + 0x4A]
  5297. 00003762  6706                     beq        +0x8 /* 0000376A */
  5298. 00003764  206F 004A                movea.l    A0, [A7 + 0x4A]
  5299. 00003768  A023                     syscall    DisposHandle/DisposeHandle
  5300. label0000376A:
  5301. 0000376A  3F04                     move.w     -[A7], D4
  5302. 0000376C  3F3C 0002                move.w     -[A7], 0x2
  5303. 00003770  4EAD DE98                jsr        [A5 - 0x2168]
  5304. 00003774  584F                     addq.w     A7, 4
  5305. label00003776:
  5306. 00003776  2F2D 8D0A                move.l     -[A7], [A5 - 0x72F6]
  5307. 0000377A  4EAD DD88                jsr        [A5 - 0x2278]
  5308. 0000377E  584F                     addq.w     A7, 4
  5309. label00003780:
  5310. 00003780  4FEF 005A                lea.l      A7, [A7 + 0x5A]
  5311. 00003784  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  5312. 00003788  4E75                     rts
  5313. 0000378A  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  5314. 0000378E  4FEF FFAA                lea.l      A7, [A7 - 0x56]
  5315. 00003792  246F 0080                movea.l    A2, [A7 + 0x80]
  5316. 00003796  2C2F 0088                move.l     D6, [A7 + 0x88]
  5317. 0000379A  2A2F 008C                move.l     D5, [A7 + 0x8C]
  5318. 0000379E  282F 0090                move.l     D4, [A7 + 0x90]
  5319. 000037A2  2C6F 0094                movea.l    A6, [A7 + 0x94]
  5320. 000037A6  42A7                     clr.l      -[A7]
  5321. 000037A8  3F2F 0082                move.w     -[A7], [A7 + 0x82]
  5322. 000037AC  4EBA 04F0                jsr        [PC + 0x4F0 /* 00003C9E */]
  5323. 000037B0  2600                     move.l     D3, D0
  5324. 000037B2  7E00                     moveq.l    D7, 0x00
  5325. 000037B4  4A83                     tst.l      D3
  5326. 000037B6  5C4F                     addq.w     A7, 6
  5327. 000037B8  6C0C                     bge        +0xE /* 000037C6 */
  5328. 000037BA  7000                     moveq.l    D0, 0x00
  5329. 000037BC  4FEF 0056                lea.l      A7, [A7 + 0x56]
  5330. 000037C0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5331. 000037C4  4E75                     rts
  5332. label000037C6:
  5333. 000037C6  554F                     subq.w     A7, 2
  5334. 000037C8  2F0A                     move.l     -[A7], A2
  5335. 000037CA  486F 004C                pea.l      [A7 + 0x4C]
  5336. 000037CE  204A                     movea.l    A0, A2
  5337. 000037D0  70FF                     moveq.l    D0, 0xFFFFFFFF
  5338. label000037D2:
  5339. 000037D2  5280                     addq.l     D0, 1
  5340. 000037D4  4A18                     tst.b      [A0]+
  5341. 000037D6  66FA                     bne        -0x4 /* 000037D2 */
  5342. 000037D8  5280                     addq.l     D0, 1
  5343. 000037DA  2F00                     move.l     -[A7], D0
  5344. 000037DC  4EAD DA36                jsr        [A5 - 0x25CA]
  5345. 000037E0  301F                     move.w     D0, [A7]+
  5346. 000037E2  670C                     beq        +0xE /* 000037F0 */
  5347. 000037E4  7000                     moveq.l    D0, 0x00
  5348. 000037E6  4FEF 0056                lea.l      A7, [A7 + 0x56]
  5349. 000037EA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5350. 000037EE  4E75                     rts
  5351. label000037F0:
  5352. 000037F0  2003                     move.l     D0, D3
  5353. 000037F2  EF88                     lsl        D0, 7
  5354. 000037F4  266D 8D0A                movea.l    A3, [A5 - 0x72F6]
  5355. 000037F8  2653                     movea.l    A3, [A3]
  5356. 000037FA  D7C0                     add.l      A3, D0
  5357. 000037FC  4AAB 0050                tst.l      [A3 + 0x50]
  5358. 00003800  6700 009C                beq        +0x9E /* 0000389E */
  5359. 00003804  206B 0050                movea.l    A0, [A3 + 0x50]
  5360. 00003808  2850                     movea.l    A4, [A0]
  5361. 0000380A  594F                     subq.w     A7, 4
  5362. 0000380C  2F2B 0050                move.l     -[A7], [A3 + 0x50]
  5363. 00003810  4EAD D9AC                jsr        [A5 - 0x2654]
  5364. 00003814  201F                     move.l     D0, [A7]+
  5365. 00003816  2600                     move.l     D3, D0
  5366. 00003818  486D E740                pea.l      [A5 - 0x18C0]
  5367. 0000381C  4878 0056                push.l     0x56 /* 'V' */
  5368. 00003820  2003                     move.l     D0, D3
  5369. 00003822  7256                     moveq.l    D1, 0x56
  5370. 00003824  4EAD D8FE                jsr        [A5 - 0x2702]
  5371. 00003828  2F00                     move.l     -[A7], D0
  5372. 0000382A  2F0C                     move.l     -[A7], A4
  5373. 0000382C  486F 0010                pea.l      [A7 + 0x10]
  5374. 00003830  4EAD D928                jsr        [A5 - 0x26D8]
  5375. 00003834  2448                     movea.l    A2, A0
  5376. 00003836  200A                     move.l     D0, A2
  5377. 00003838  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5378. 0000383C  6760                     beq        +0x62 /* 0000389E */
  5379. 0000383E  7E01                     moveq.l    D7, 0x01
  5380. 00003840  4A86                     tst.l      D6
  5381. 00003842  670E                     beq        +0x10 /* 00003852 */
  5382. 00003844  2046                     movea.l    A0, D6
  5383. 00003846  43D2                     lea.l      A1, [A2]
  5384. 00003848  7010                     moveq.l    D0, 0x10
  5385. label0000384A:
  5386. 0000384A  20D9                     move.l     [A0]+, [A1]+
  5387. 0000384C  51C8 FFFC                dbf        D0, -0x6 /* 0000384A */
  5388. 00003850  30D9                     move.w     [A0]+, [A1]+
  5389. label00003852:
  5390. 00003852  4A85                     tst.l      D5
  5391. 00003854  6706                     beq        +0x8 /* 0000385C */
  5392. 00003856  2045                     movea.l    A0, D5
  5393. 00003858  20AA 004A                move.l     [A0], [A2 + 0x4A]
  5394. label0000385C:
  5395. 0000385C  4A84                     tst.l      D4
  5396. 0000385E  6706                     beq        +0x8 /* 00003866 */
  5397. 00003860  2044                     movea.l    A0, D4
  5398. 00003862  20AA 004E                move.l     [A0], [A2 + 0x4E]
  5399. label00003866:
  5400. 00003866  200E                     move.l     D0, A6
  5401. 00003868  6704                     beq        +0x6 /* 0000386E */
  5402. 0000386A  2CAA 0052                move.l     [A6], [A2 + 0x52]
  5403. label0000386E:
  5404. 0000386E  4AAF 0084                tst.l      [A7 + 0x84]
  5405. 00003872  672A                     beq        +0x2C /* 0000389E */
  5406. 00003874  2C6A 0046                movea.l    A6, [A2 + 0x46]
  5407. 00003878  204A                     movea.l    A0, A2
  5408. 0000387A  91CC                     sub.l      A0, A4
  5409. 0000387C  2808                     move.l     D4, A0
  5410. 0000387E  7056                     moveq.l    D0, 0x56
  5411. 00003880  9680                     sub.l      D3, D0
  5412. 00003882  41EA 0056                lea.l      A0, [A2 + 0x56]
  5413. 00003886  224A                     movea.l    A1, A2
  5414. 00003888  2003                     move.l     D0, D3
  5415. 0000388A  9084                     sub.l      D0, D4
  5416. 0000388C  A02E                     syscall    BlockMove/BlockMoveData
  5417. 0000388E  206B 0050                movea.l    A0, [A3 + 0x50]
  5418. 00003892  2003                     move.l     D0, D3
  5419. 00003894  A024                     syscall    SetHandleSize
  5420. 00003896  200E                     move.l     D0, A6
  5421. 00003898  6704                     beq        +0x6 /* 0000389E */
  5422. 0000389A  204E                     movea.l    A0, A6
  5423. 0000389C  A023                     syscall    DisposHandle/DisposeHandle
  5424. label0000389E:
  5425. 0000389E  206F 0046                movea.l    A0, [A7 + 0x46]
  5426. 000038A2  A023                     syscall    DisposHandle/DisposeHandle
  5427. 000038A4  2007                     move.l     D0, D7
  5428. 000038A6  4FEF 0056                lea.l      A7, [A7 + 0x56]
  5429. 000038AA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5430. 000038AE  4E75                     rts
  5431. fn000038B0:
  5432. 000038B0  1F3C 0002                move.b     -[A7], 0x2
  5433. 000038B4  42A7                     clr.l      -[A7]
  5434. 000038B6  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  5435. 000038BA  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  5436. 000038BE  4EBA 056A                jsr        [PC + 0x56A /* 00003E2A */]
  5437. 000038C2  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5438. 000038C6  4E75                     rts
  5439. fn000038C8:
  5440. 000038C8  4227                     clr.b      -[A7]
  5441. 000038CA  42A7                     clr.l      -[A7]
  5442. 000038CC  42A7                     clr.l      -[A7]
  5443. 000038CE  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  5444. 000038D2  4EBA 0556                jsr        [PC + 0x556 /* 00003E2A */]
  5445. 000038D6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5446. 000038DA  4E75                     rts
  5447. 000038DC  1F3C 0001                move.b     -[A7], 0x1
  5448. 000038E0  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  5449. 000038E4  42A7                     clr.l      -[A7]
  5450. 000038E6  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  5451. 000038EA  4EBA 053E                jsr        [PC + 0x53E /* 00003E2A */]
  5452. 000038EE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5453. 000038F2  4E75                     rts
  5454. 000038F4  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  5455. 000038F8  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  5456. 000038FC  2C2F 003A                move.l     D6, [A7 + 0x3A]
  5457. 00003900  286F 003E                movea.l    A4, [A7 + 0x3E]
  5458. 00003904  42A7                     clr.l      -[A7]
  5459. 00003906  3F2F 003C                move.w     -[A7], [A7 + 0x3C]
  5460. 0000390A  4EBA 0392                jsr        [PC + 0x392 /* 00003C9E */]
  5461. 0000390E  2800                     move.l     D4, D0
  5462. 00003910  7A00                     moveq.l    D5, 0x00
  5463. 00003912  7600                     moveq.l    D3, 0x00
  5464. 00003914  4294                     clr.l      [A4]
  5465. 00003916  4A84                     tst.l      D4
  5466. 00003918  5C4F                     addq.w     A7, 6
  5467. 0000391A  6C0C                     bge        +0xE /* 00003928 */
  5468. 0000391C  7094                     moveq.l    D0, 0xFFFFFF94
  5469. 0000391E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5470. 00003922  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  5471. 00003926  4E75                     rts
  5472. label00003928:
  5473. 00003928  2004                     move.l     D0, D4
  5474. 0000392A  EF88                     lsl        D0, 7
  5475. 0000392C  2E80                     move.l     [A7], D0
  5476. 0000392E  2F2D 8D0A                move.l     -[A7], [A5 - 0x72F6]
  5477. 00003932  4EAD DD80                jsr        [A5 - 0x2280]
  5478. 00003936  D1EF 0004                add.l      A0, [A7 + 0x4]
  5479. 0000393A  2448                     movea.l    A2, A0
  5480. 0000393C  4AAA 0074                tst.l      [A2 + 0x74]
  5481. 00003940  584F                     addq.w     A7, 4
  5482. 00003942  673C                     beq        +0x3E /* 00003980 */
  5483. 00003944  2F46 0008                move.l     [A7 + 0x8], D6
  5484. 00003948  594F                     subq.w     A7, 4
  5485. 0000394A  2F2A 0074                move.l     -[A7], [A2 + 0x74]
  5486. 0000394E  4EAD D9AC                jsr        [A5 - 0x2654]
  5487. 00003952  201F                     move.l     D0, [A7]+
  5488. 00003954  E688                     lsr        D0, 3
  5489. 00003956  2800                     move.l     D4, D0
  5490. 00003958  486D E748                pea.l      [A5 - 0x18B8]
  5491. 0000395C  4878 0008                push.l     0x8
  5492. 00003960  2F04                     move.l     -[A7], D4
  5493. 00003962  206A 0074                movea.l    A0, [A2 + 0x74]
  5494. 00003966  2F10                     move.l     -[A7], [A0]
  5495. 00003968  486F 0014                pea.l      [A7 + 0x14]
  5496. 0000396C  4EAD D928                jsr        [A5 - 0x26D8]
  5497. 00003970  2648                     movea.l    A3, A0
  5498. 00003972  200B                     move.l     D0, A3
  5499. 00003974  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5500. 00003978  6706                     beq        +0x8 /* 00003980 */
  5501. 0000397A  2C53                     movea.l    A6, [A3]
  5502. 0000397C  7A01                     moveq.l    D5, 0x01
  5503. 0000397E  288E                     move.l     [A4], A6
  5504. label00003980:
  5505. 00003980  4A85                     tst.l      D5
  5506. 00003982  6600 0088                bne        +0x8A /* 00003A0C */
  5507. 00003986  486F 000C                pea.l      [A7 + 0xC]
  5508. 0000398A  2F46 0014                move.l     [A7 + 0x14], D6
  5509. 0000398E  2F06                     move.l     -[A7], D6
  5510. 00003990  3F2A 007E                move.w     -[A7], [A2 + 0x7E]
  5511. 00003994  4EBA 05C2                jsr        [PC + 0x5C2 /* 00003F58 */]
  5512. 00003998  3600                     move.w     D3, D0
  5513. 0000399A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  5514. 0000399E  666C                     bne        +0x6E /* 00003A0C */
  5515. 000039A0  4AAF 000C                tst.l      [A7 + 0xC]
  5516. 000039A4  6766                     beq        +0x68 /* 00003A0C */
  5517. 000039A6  4AAA 0074                tst.l      [A2 + 0x74]
  5518. 000039AA  671A                     beq        +0x1C /* 000039C6 */
  5519. 000039AC  594F                     subq.w     A7, 4
  5520. 000039AE  2F2A 0074                move.l     -[A7], [A2 + 0x74]
  5521. 000039B2  4EAD D9AC                jsr        [A5 - 0x2654]
  5522. 000039B6  201F                     move.l     D0, [A7]+
  5523. 000039B8  2800                     move.l     D4, D0
  5524. 000039BA  206A 0074                movea.l    A0, [A2 + 0x74]
  5525. 000039BE  2004                     move.l     D0, D4
  5526. 000039C0  5080                     addq.l     D0, 8
  5527. 000039C2  A024                     syscall    SetHandleSize
  5528. 000039C4  600A                     bra        +0xC /* 000039D0 */
  5529. label000039C6:
  5530. 000039C6  7800                     moveq.l    D4, 0x00
  5531. 000039C8  7008                     moveq.l    D0, 0x08
  5532. 000039CA  A122                     syscall    NewHandle, flags=1
  5533. 000039CC  2548 0074                move.l     [A2 + 0x74], A0
  5534. label000039D0:
  5535. 000039D0  554F                     subq.w     A7, 2
  5536. 000039D2  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  5537. 000039D6  301F                     move.w     D0, [A7]+
  5538. 000039D8  3600                     move.w     D3, D0
  5539. 000039DA  6626                     bne        +0x28 /* 00003A02 */
  5540. 000039DC  2A04                     move.l     D5, D4
  5541. 000039DE  E68D                     lsr        D5, 3
  5542. 000039E0  486D E748                pea.l      [A5 - 0x18B8]
  5543. 000039E4  4878 0008                push.l     0x8
  5544. 000039E8  2F05                     move.l     -[A7], D5
  5545. 000039EA  206A 0074                movea.l    A0, [A2 + 0x74]
  5546. 000039EE  2F10                     move.l     -[A7], [A0]
  5547. 000039F0  486F 001C                pea.l      [A7 + 0x1C]
  5548. 000039F4  4EBA C612                jsr        [PC - 0x39EE /* 00000008 */]
  5549. 000039F8  28AF 0020                move.l     [A4], [A7 + 0x20]
  5550. 000039FC  4FEF 0014                lea.l      A7, [A7 + 0x14]
  5551. 00003A00  600A                     bra        +0xC /* 00003A0C */
  5552. label00003A02:
  5553. 00003A02  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  5554. 00003A06  4EBA 051E                jsr        [PC + 0x51E /* 00003F26 */]
  5555. 00003A0A  584F                     addq.w     A7, 4
  5556. label00003A0C:
  5557. 00003A0C  2F2D 8D0A                move.l     -[A7], [A5 - 0x72F6]
  5558. 00003A10  4EAD DD88                jsr        [A5 - 0x2278]
  5559. 00003A14  3003                     move.w     D0, D3
  5560. 00003A16  4FEF 0018                lea.l      A7, [A7 + 0x18]
  5561. 00003A1A  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  5562. 00003A1E  4E75                     rts
  5563. 00003A20  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  5564. 00003A24  4FEF FFA6                lea.l      A7, [A7 - 0x5A]
  5565. 00003A28  2C2F 0084                move.l     D6, [A7 + 0x84]
  5566. 00003A2C  266F 0088                movea.l    A3, [A7 + 0x88]
  5567. 00003A30  286F 008C                movea.l    A4, [A7 + 0x8C]
  5568. 00003A34  282F 0090                move.l     D4, [A7 + 0x90]
  5569. 00003A38  42A7                     clr.l      -[A7]
  5570. 00003A3A  3F2F 0086                move.w     -[A7], [A7 + 0x86]
  5571. 00003A3E  4EBA 025E                jsr        [PC + 0x25E /* 00003C9E */]
  5572. 00003A42  2A00                     move.l     D5, D0
  5573. 00003A44  7600                     moveq.l    D3, 0x00
  5574. 00003A46  4293                     clr.l      [A3]
  5575. 00003A48  4A85                     tst.l      D5
  5576. 00003A4A  5C4F                     addq.w     A7, 6
  5577. 00003A4C  6C0C                     bge        +0xE /* 00003A5A */
  5578. 00003A4E  7094                     moveq.l    D0, 0xFFFFFF94
  5579. 00003A50  4FEF 005A                lea.l      A7, [A7 + 0x5A]
  5580. 00003A54  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5581. 00003A58  4E75                     rts
  5582. label00003A5A:
  5583. 00003A5A  2005                     move.l     D0, D5
  5584. 00003A5C  EF88                     lsl        D0, 7
  5585. 00003A5E  2E80                     move.l     [A7], D0
  5586. 00003A60  2F2D 8D0A                move.l     -[A7], [A5 - 0x72F6]
  5587. 00003A64  4EAD DD80                jsr        [A5 - 0x2280]
  5588. 00003A68  D1EF 0004                add.l      A0, [A7 + 0x4]
  5589. 00003A6C  2C48                     movea.l    A6, A0
  5590. 00003A6E  4AAE 0070                tst.l      [A6 + 0x70]
  5591. 00003A72  584F                     addq.w     A7, 4
  5592. 00003A74  6700 020A                beq        +0x20C /* 00003C80 */
  5593. 00003A78  2F2E 0070                move.l     -[A7], [A6 + 0x70]
  5594. 00003A7C  4EAD DD80                jsr        [A5 - 0x2280]
  5595. 00003A80  2448                     movea.l    A2, A0
  5596. 00003A82  2F2E 0070                move.l     -[A7], [A6 + 0x70]
  5597. 00003A86  4EAD D9AC                jsr        [A5 - 0x2654]
  5598. 00003A8A  201F                     move.l     D0, [A7]+
  5599. 00003A8C  7256                     moveq.l    D1, 0x56
  5600. 00003A8E  4EAD D8FE                jsr        [A5 - 0x2702]
  5601. 00003A92  2E00                     move.l     D7, D0
  5602. 00003A94  7A00                     moveq.l    D5, 0x00
  5603. 00003A96  6000 00A4                bra        +0xA6 /* 00003B3C */
  5604. label00003A9A:
  5605. 00003A9A  BCAA 0052                cmp.l      D6, [A2 + 0x52]
  5606. 00003A9E  6600 0096                bne        +0x98 /* 00003B36 */
  5607. 00003AA2  4A84                     tst.l      D4
  5608. 00003AA4  6706                     beq        +0x8 /* 00003AAC */
  5609. 00003AA6  2044                     movea.l    A0, D4
  5610. 00003AA8  20AA 004E                move.l     [A0], [A2 + 0x4E]
  5611. label00003AAC:
  5612. 00003AAC  4AAA 0046                tst.l      [A2 + 0x46]
  5613. 00003AB0  6718                     beq        +0x1A /* 00003ACA */
  5614. 00003AB2  206A 0046                movea.l    A0, [A2 + 0x46]
  5615. 00003AB6  4A90                     tst.l      [A0]
  5616. 00003AB8  6710                     beq        +0x12 /* 00003ACA */
  5617. 00003ABA  26AA 0046                move.l     [A3], [A2 + 0x46]
  5618. 00003ABE  200C                     move.l     D0, A4
  5619. 00003AC0  6700 0080                beq        +0x82 /* 00003B42 */
  5620. 00003AC4  28AA 004A                move.l     [A4], [A2 + 0x4A]
  5621. 00003AC8  6078                     bra        +0x7A /* 00003B42 */
  5622. label00003ACA:
  5623. 00003ACA  4AAA 004A                tst.l      [A2 + 0x4A]
  5624. 00003ACE  670A                     beq        +0xC /* 00003ADA */
  5625. 00003AD0  2F2A 004A                move.l     -[A7], [A2 + 0x4A]
  5626. 00003AD4  AA24                     syscall    DisposeCTable/DisposCTable
  5627. 00003AD6  42AA 004A                clr.l      [A2 + 0x4A]
  5628. label00003ADA:
  5629. 00003ADA  4AAA 0046                tst.l      [A2 + 0x46]
  5630. 00003ADE  670A                     beq        +0xC /* 00003AEA */
  5631. 00003AE0  206A 0046                movea.l    A0, [A2 + 0x46]
  5632. 00003AE4  A023                     syscall    DisposHandle/DisposeHandle
  5633. 00003AE6  42AA 0046                clr.l      [A2 + 0x46]
  5634. label00003AEA:
  5635. 00003AEA  42A7                     clr.l      -[A7]
  5636. 00003AEC  486A 004A                pea.l      [A2 + 0x4A]
  5637. 00003AF0  486A 0046                pea.l      [A2 + 0x46]
  5638. 00003AF4  2F0A                     move.l     -[A7], A2
  5639. 00003AF6  4EAD DC2E                jsr        [A5 - 0x23D2]
  5640. 00003AFA  3600                     move.w     D3, D0
  5641. 00003AFC  26AA 0046                move.l     [A3], [A2 + 0x46]
  5642. 00003B00  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5643. 00003B04  6710                     beq        +0x12 /* 00003B16 */
  5644. 00003B06  206A 0046                movea.l    A0, [A2 + 0x46]
  5645. 00003B0A  A049                     syscall    HPurge
  5646. 00003B0C  200C                     move.l     D0, A4
  5647. 00003B0E  6732                     beq        +0x34 /* 00003B42 */
  5648. 00003B10  28AA 004A                move.l     [A4], [A2 + 0x4A]
  5649. 00003B14  602C                     bra        +0x2E /* 00003B42 */
  5650. label00003B16:
  5651. 00003B16  594F                     subq.w     A7, 4
  5652. 00003B18  302D 135E                move.w     D0, [A5 + 0x135E]
  5653. 00003B1C  48C0                     ext.l      D0
  5654. 00003B1E  0680 0000 0084           addi.l     D0, 0x84
  5655. 00003B24  3F00                     move.w     -[A7], D0
  5656. 00003B26  A9BC                     syscall    GetPicture
  5657. 00003B28  205F                     movea.l    A0, [A7]+
  5658. 00003B2A  2688                     move.l     [A3], A0
  5659. 00003B2C  554F                     subq.w     A7, 2
  5660. 00003B2E  A9AF                     syscall    ResError
  5661. 00003B30  301F                     move.w     D0, [A7]+
  5662. 00003B32  3600                     move.w     D3, D0
  5663. 00003B34  600C                     bra        +0xE /* 00003B42 */
  5664. label00003B36:
  5665. 00003B36  5285                     addq.l     D5, 1
  5666. 00003B38  7056                     moveq.l    D0, 0x56
  5667. 00003B3A  D5C0                     add.l      A2, D0
  5668. label00003B3C:
  5669. 00003B3C  BA87                     cmp.l      D5, D7
  5670. 00003B3E  6D00 FF5A                blt        -0xA4 /* 00003A9A */
  5671. label00003B42:
  5672. 00003B42  2F2E 0070                move.l     -[A7], [A6 + 0x70]
  5673. 00003B46  4EAD DD88                jsr        [A5 - 0x2278]
  5674. 00003B4A  584F                     addq.w     A7, 4
  5675. 00003B4C  6000 0132                bra        +0x134 /* 00003C80 */
  5676. label00003B50:
  5677. 00003B50  41ED 8C30                lea.l      A0, [A5 - 0x73D0]
  5678. 00003B54  43EF 0004                lea.l      A1, [A7 + 0x4]
  5679. 00003B58  7014                     moveq.l    D0, 0x14
  5680. label00003B5A:
  5681. 00003B5A  22D8                     move.l     [A1]+, [A0]+
  5682. 00003B5C  51C8 FFFC                dbf        D0, -0x6 /* 00003B5A */
  5683. 00003B60  32D8                     move.w     [A1]+, [A0]+
  5684. 00003B62  2F46 0056                move.l     [A7 + 0x56], D6
  5685. 00003B66  2F2F 0056                move.l     -[A7], [A7 + 0x56]
  5686. 00003B6A  486F 0008                pea.l      [A7 + 0x8]
  5687. 00003B6E  2F0E                     move.l     -[A7], A6
  5688. 00003B70  4EBA 016A                jsr        [PC + 0x16A /* 00003CDC */]
  5689. 00003B74  3600                     move.w     D3, D0
  5690. 00003B76  0C43 FFD5                cmpi.w     D3, 0xFFD5
  5691. 00003B7A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  5692. 00003B7E  6712                     beq        +0x14 /* 00003B92 */
  5693. 00003B80  0C43 FF88                cmpi.w     D3, 0xFF88
  5694. 00003B84  670C                     beq        +0xE /* 00003B92 */
  5695. 00003B86  0C43 FFDD                cmpi.w     D3, 0xFFDD
  5696. 00003B8A  6706                     beq        +0x8 /* 00003B92 */
  5697. 00003B8C  0C43 FFDB                cmpi.w     D3, 0xFFDB
  5698. 00003B90  6606                     bne        +0x8 /* 00003B98 */
  5699. label00003B92:
  5700. 00003B92  42AF 004A                clr.l      [A7 + 0x4A]
  5701. 00003B96  6064                     bra        +0x66 /* 00003BFC */
  5702. label00003B98:
  5703. 00003B98  4A43                     tst.w      D3
  5704. 00003B9A  6600 00EE                bne        +0xF0 /* 00003C8A */
  5705. 00003B9E  486F 0052                pea.l      [A7 + 0x52]
  5706. 00003BA2  486F 0052                pea.l      [A7 + 0x52]
  5707. 00003BA6  486F 0052                pea.l      [A7 + 0x52]
  5708. 00003BAA  486F 0010                pea.l      [A7 + 0x10]
  5709. 00003BAE  4EAD DC2E                jsr        [A5 - 0x23D2]
  5710. 00003BB2  3600                     move.w     D3, D0
  5711. 00003BB4  0C43 FF94                cmpi.w     D3, 0xFF94
  5712. 00003BB8  4FEF 0010                lea.l      A7, [A7 + 0x10]
  5713. 00003BBC  6630                     bne        +0x32 /* 00003BEE */
  5714. 00003BBE  594F                     subq.w     A7, 4
  5715. 00003BC0  302D 135E                move.w     D0, [A5 + 0x135E]
  5716. 00003BC4  48C0                     ext.l      D0
  5717. 00003BC6  0680 0000 0088           addi.l     D0, 0x88
  5718. 00003BCC  3F00                     move.w     -[A7], D0
  5719. 00003BCE  A9BC                     syscall    GetPicture
  5720. 00003BD0  205F                     movea.l    A0, [A7]+
  5721. 00003BD2  2F48 004A                move.l     [A7 + 0x4A], A0
  5722. 00003BD6  554F                     subq.w     A7, 2
  5723. 00003BD8  A9AF                     syscall    ResError
  5724. 00003BDA  301F                     move.w     D0, [A7]+
  5725. 00003BDC  3600                     move.w     D3, D0
  5726. 00003BDE  6600 00AA                bne        +0xAC /* 00003C8A */
  5727. 00003BE2  206F 004A                movea.l    A0, [A7 + 0x4A]
  5728. 00003BE6  A04A                     syscall    HNoPurge
  5729. 00003BE8  2F2F 004A                move.l     -[A7], [A7 + 0x4A]
  5730. 00003BEC  A992                     syscall    DetachResource
  5731. label00003BEE:
  5732. 00003BEE  4A43                     tst.w      D3
  5733. 00003BF0  6600 0098                bne        +0x9A /* 00003C8A */
  5734. 00003BF4  4AAF 004A                tst.l      [A7 + 0x4A]
  5735. 00003BF8  6700 0090                beq        +0x92 /* 00003C8A */
  5736. label00003BFC:
  5737. 00003BFC  4AAE 0070                tst.l      [A6 + 0x70]
  5738. 00003C00  6710                     beq        +0x12 /* 00003C12 */
  5739. 00003C02  41EF 0004                lea.l      A0, [A7 + 0x4]
  5740. 00003C06  226E 0070                movea.l    A1, [A6 + 0x70]
  5741. 00003C0A  7056                     moveq.l    D0, 0x56
  5742. 00003C0C  A9EF                     syscall    PtrAndHand
  5743. 00003C0E  3600                     move.w     D3, D0
  5744. 00003C10  6016                     bra        +0x18 /* 00003C28 */
  5745. label00003C12:
  5746. 00003C12  554F                     subq.w     A7, 2
  5747. 00003C14  486F 0006                pea.l      [A7 + 0x6]
  5748. 00003C18  486E 0070                pea.l      [A6 + 0x70]
  5749. 00003C1C  4878 0056                push.l     0x56 /* 'V' */
  5750. 00003C20  4EAD DA36                jsr        [A5 - 0x25CA]
  5751. 00003C24  301F                     move.w     D0, [A7]+
  5752. 00003C26  3600                     move.w     D3, D0
  5753. label00003C28:
  5754. 00003C28  4A43                     tst.w      D3
  5755. 00003C2A  6714                     beq        +0x16 /* 00003C40 */
  5756. 00003C2C  206F 004A                movea.l    A0, [A7 + 0x4A]
  5757. 00003C30  A023                     syscall    DisposHandle/DisposeHandle
  5758. 00003C32  4AAF 004E                tst.l      [A7 + 0x4E]
  5759. 00003C36  6752                     beq        +0x54 /* 00003C8A */
  5760. 00003C38  2F2F 004E                move.l     -[A7], [A7 + 0x4E]
  5761. 00003C3C  AA24                     syscall    DisposeCTable/DisposCTable
  5762. 00003C3E  604A                     bra        +0x4C /* 00003C8A */
  5763. label00003C40:
  5764. 00003C40  26AF 004A                move.l     [A3], [A7 + 0x4A]
  5765. 00003C44  6710                     beq        +0x12 /* 00003C56 */
  5766. 00003C46  206F 004A                movea.l    A0, [A7 + 0x4A]
  5767. 00003C4A  A049                     syscall    HPurge
  5768. 00003C4C  200C                     move.l     D0, A4
  5769. 00003C4E  6724                     beq        +0x26 /* 00003C74 */
  5770. 00003C50  28AF 004E                move.l     [A4], [A7 + 0x4E]
  5771. 00003C54  601E                     bra        +0x20 /* 00003C74 */
  5772. label00003C56:
  5773. 00003C56  594F                     subq.w     A7, 4
  5774. 00003C58  302D 135E                move.w     D0, [A5 + 0x135E]
  5775. 00003C5C  48C0                     ext.l      D0
  5776. 00003C5E  0680 0000 0084           addi.l     D0, 0x84
  5777. 00003C64  3F00                     move.w     -[A7], D0
  5778. 00003C66  A9BC                     syscall    GetPicture
  5779. 00003C68  205F                     movea.l    A0, [A7]+
  5780. 00003C6A  2688                     move.l     [A3], A0
  5781. 00003C6C  554F                     subq.w     A7, 2
  5782. 00003C6E  A9AF                     syscall    ResError
  5783. 00003C70  301F                     move.w     D0, [A7]+
  5784. 00003C72  3600                     move.w     D3, D0
  5785. label00003C74:
  5786. 00003C74  4A84                     tst.l      D4
  5787. 00003C76  6712                     beq        +0x14 /* 00003C8A */
  5788. 00003C78  2044                     movea.l    A0, D4
  5789. 00003C7A  20AF 0052                move.l     [A0], [A7 + 0x52]
  5790. 00003C7E  600A                     bra        +0xC /* 00003C8A */
  5791. label00003C80:
  5792. 00003C80  4A43                     tst.w      D3
  5793. 00003C82  6606                     bne        +0x8 /* 00003C8A */
  5794. 00003C84  4A93                     tst.l      [A3]
  5795. 00003C86  6700 FEC8                beq        -0x136 /* 00003B50 */
  5796. label00003C8A:
  5797. 00003C8A  2F2D 8D0A                move.l     -[A7], [A5 - 0x72F6]
  5798. 00003C8E  4EAD DD88                jsr        [A5 - 0x2278]
  5799. 00003C92  3003                     move.w     D0, D3
  5800. 00003C94  4FEF 005E                lea.l      A7, [A7 + 0x5E]
  5801. 00003C98  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  5802. 00003C9C  4E75                     rts
  5803. fn00003C9E:
  5804. 00003C9E  342F 0004                move.w     D2, [A7 + 0x4]
  5805. 00003CA2  226F 0006                movea.l    A1, [A7 + 0x6]
  5806. 00003CA6  4AAD 8D0A                tst.l      [A5 - 0x72F6]
  5807. 00003CAA  6604                     bne        +0x6 /* 00003CB0 */
  5808. 00003CAC  70FF                     moveq.l    D0, 0xFFFFFFFF
  5809. 00003CAE  4E75                     rts
  5810. label00003CB0:
  5811. 00003CB0  2009                     move.l     D0, A1
  5812. 00003CB2  6704                     beq        +0x6 /* 00003CB8 */
  5813. 00003CB4  22AD 8D06                move.l     [A1], [A5 - 0x72FA]
  5814. label00003CB8:
  5815. 00003CB8  206D 8D0A                movea.l    A0, [A5 - 0x72F6]
  5816. 00003CBC  2250                     movea.l    A1, [A0]
  5817. 00003CBE  7200                     moveq.l    D1, 0x00
  5818. 00003CC0  6010                     bra        +0x12 /* 00003CD2 */
  5819. label00003CC2:
  5820. 00003CC2  B469 007E                cmp.w      D2, [A1 + 0x7E]
  5821. 00003CC6  6604                     bne        +0x6 /* 00003CCC */
  5822. 00003CC8  2001                     move.l     D0, D1
  5823. 00003CCA  4E75                     rts
  5824. label00003CCC:
  5825. 00003CCC  5281                     addq.l     D1, 1
  5826. 00003CCE  43E9 0080                lea.l      A1, [A1 + 0x80]
  5827. label00003CD2:
  5828. 00003CD2  B2AD 8D06                cmp.l      D1, [A5 - 0x72FA]
  5829. 00003CD6  6DEA                     blt        -0x14 /* 00003CC2 */
  5830. 00003CD8  70FF                     moveq.l    D0, 0xFFFFFFFF
  5831. 00003CDA  4E75                     rts
  5832. fn00003CDC:
  5833. 00003CDC  2F0A                     move.l     -[A7], A2
  5834. 00003CDE  246F 000C                movea.l    A2, [A7 + 0xC]
  5835. 00003CE2  206F 0008                movea.l    A0, [A7 + 0x8]
  5836. 00003CE6  3490                     move.w     [A2], [A0]
  5837. 00003CE8  2568 0002 0002           move.l     [A2 + 0x2], [A0 + 0x2]
  5838. 00003CEE  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  5839. 00003CF2  2F0A                     move.l     -[A7], A2
  5840. 00003CF4  4EAD E368                jsr        [A5 - 0x1C98]
  5841. 00003CF8  504F                     addq.w     A7, 8
  5842. 00003CFA  245F                     movea.l    A2, [A7]+
  5843. 00003CFC  4E75                     rts
  5844. 00003CFE  206F 0008                movea.l    A0, [A7 + 0x8]
  5845. 00003D02  2068 0046                movea.l    A0, [A0 + 0x46]
  5846. 00003D06  2F10                     move.l     -[A7], [A0]
  5847. 00003D08  206F 0008                movea.l    A0, [A7 + 0x8]
  5848. 00003D0C  2068 0046                movea.l    A0, [A0 + 0x46]
  5849. 00003D10  2F10                     move.l     -[A7], [A0]
  5850. 00003D12  4EAD DE10                jsr        [A5 - 0x21F0]
  5851. 00003D16  504F                     addq.w     A7, 8
  5852. 00003D18  4E75                     rts
  5853. fn00003D1A:
  5854. 00003D1A  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  5855. 00003D1E  266F 0014                movea.l    A3, [A7 + 0x14]
  5856. 00003D22  246F 0018                movea.l    A2, [A7 + 0x18]
  5857. 00003D26  286F 001C                movea.l    A4, [A7 + 0x1C]
  5858. 00003D2A  162F 0020                move.b     D3, [A7 + 0x20]
  5859. 00003D2E  4AAB 005C                tst.l      [A3 + 0x5C]
  5860. 00003D32  660A                     bne        +0xC /* 00003D3E */
  5861. 00003D34  4292                     clr.l      [A2]
  5862. 00003D36  7000                     moveq.l    D0, 0x00
  5863. 00003D38  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  5864. 00003D3C  4E75                     rts
  5865. label00003D3E:
  5866. 00003D3E  4A03                     tst.b      D3
  5867. 00003D40  6706                     beq        +0x8 /* 00003D48 */
  5868. 00003D42  0C03 0003                cmpi.b     D3, 0x3
  5869. 00003D46  6610                     bne        +0x12 /* 00003D58 */
  5870. label00003D48:
  5871. 00003D48  594F                     subq.w     A7, 4
  5872. 00003D4A  2F2B 005C                move.l     -[A7], [A3 + 0x5C]
  5873. 00003D4E  4EAD D9AC                jsr        [A5 - 0x2654]
  5874. 00003D52  201F                     move.l     D0, [A7]+
  5875. 00003D54  E488                     lsr        D0, 2
  5876. 00003D56  2880                     move.l     [A4], D0
  5877. label00003D58:
  5878. 00003D58  7000                     moveq.l    D0, 0x00
  5879. 00003D5A  1003                     move.b     D0, D3
  5880. 00003D5C  670E                     beq        +0x10 /* 00003D6C */
  5881. 00003D5E  5380                     subq.l     D0, 1
  5882. 00003D60  672A                     beq        +0x2C /* 00003D8C */
  5883. 00003D62  5380                     subq.l     D0, 1
  5884. 00003D64  6716                     beq        +0x18 /* 00003D7C */
  5885. 00003D66  5380                     subq.l     D0, 1
  5886. 00003D68  671C                     beq        +0x1E /* 00003D86 */
  5887. 00003D6A  6040                     bra        +0x42 /* 00003DAC */
  5888. label00003D6C:
  5889. 00003D6C  2F2B 005C                move.l     -[A7], [A3 + 0x5C]
  5890. 00003D70  4EAD DD80                jsr        [A5 - 0x2280]
  5891. 00003D74  4292                     clr.l      [A2]
  5892. 00003D76  7600                     moveq.l    D3, 0x00
  5893. 00003D78  584F                     addq.w     A7, 4
  5894. 00003D7A  6034                     bra        +0x36 /* 00003DB0 */
  5895. label00003D7C:
  5896. 00003D7C  2F2B 005C                move.l     -[A7], [A3 + 0x5C]
  5897. 00003D80  4EAD DD88                jsr        [A5 - 0x2278]
  5898. 00003D84  584F                     addq.w     A7, 4
  5899. label00003D86:
  5900. 00003D86  4292                     clr.l      [A2]
  5901. 00003D88  7600                     moveq.l    D3, 0x00
  5902. 00003D8A  6024                     bra        +0x26 /* 00003DB0 */
  5903. label00003D8C:
  5904. 00003D8C  2014                     move.l     D0, [A4]
  5905. 00003D8E  5394                     subq.l     [A4], 1
  5906. 00003D90  4A80                     tst.l      D0
  5907. 00003D92  6606                     bne        +0x8 /* 00003D9A */
  5908. 00003D94  4292                     clr.l      [A2]
  5909. 00003D96  7600                     moveq.l    D3, 0x00
  5910. 00003D98  6016                     bra        +0x18 /* 00003DB0 */
  5911. label00003D9A:
  5912. 00003D9A  4A92                     tst.l      [A2]
  5913. 00003D9C  6704                     beq        +0x6 /* 00003DA2 */
  5914. 00003D9E  5892                     addq.l     [A2], 4
  5915. 00003DA0  6006                     bra        +0x8 /* 00003DA8 */
  5916. label00003DA2:
  5917. 00003DA2  206B 005C                movea.l    A0, [A3 + 0x5C]
  5918. 00003DA6  2490                     move.l     [A2], [A0]
  5919. label00003DA8:
  5920. 00003DA8  7601                     moveq.l    D3, 0x01
  5921. 00003DAA  6004                     bra        +0x6 /* 00003DB0 */
  5922. label00003DAC:
  5923. 00003DAC  4292                     clr.l      [A2]
  5924. 00003DAE  7600                     moveq.l    D3, 0x00
  5925. label00003DB0:
  5926. 00003DB0  2003                     move.l     D0, D3
  5927. 00003DB2  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  5928. 00003DB6  4E75                     rts
  5929. fn00003DB8:
  5930. 00003DB8  2F0A                     move.l     -[A7], A2
  5931. 00003DBA  514F                     subq.w     A7, 8
  5932. 00003DBC  246F 0010                movea.l    A2, [A7 + 0x10]
  5933. 00003DC0  4AAD AA18                tst.l      [A5 - 0x55E8]
  5934. 00003DC4  6752                     beq        +0x54 /* 00003E18 */
  5935. 00003DC6  4227                     clr.b      -[A7]
  5936. 00003DC8  486F 0002                pea.l      [A7 + 0x2]
  5937. 00003DCC  486F 000A                pea.l      [A7 + 0xA]
  5938. 00003DD0  2F0A                     move.l     -[A7], A2
  5939. 00003DD2  4EBA FF46                jsr        [PC - 0xBA /* 00003D1A */]
  5940. 00003DD6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5941. 00003DDA  600C                     bra        +0xE /* 00003DE8 */
  5942. label00003DDC:
  5943. 00003DDC  206F 0004                movea.l    A0, [A7 + 0x4]
  5944. 00003DE0  2F10                     move.l     -[A7], [A0]
  5945. 00003DE2  4EAD F490                jsr        [A5 - 0xB70]
  5946. 00003DE6  584F                     addq.w     A7, 4
  5947. label00003DE8:
  5948. 00003DE8  1F3C 0001                move.b     -[A7], 0x1
  5949. 00003DEC  486F 0002                pea.l      [A7 + 0x2]
  5950. 00003DF0  486F 000A                pea.l      [A7 + 0xA]
  5951. 00003DF4  2F0A                     move.l     -[A7], A2
  5952. 00003DF6  4EBA FF22                jsr        [PC - 0xDE /* 00003D1A */]
  5953. 00003DFA  4A80                     tst.l      D0
  5954. 00003DFC  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5955. 00003E00  66DA                     bne        -0x24 /* 00003DDC */
  5956. 00003E02  1F3C 0002                move.b     -[A7], 0x2
  5957. 00003E06  486F 0002                pea.l      [A7 + 0x2]
  5958. 00003E0A  486F 000A                pea.l      [A7 + 0xA]
  5959. 00003E0E  2F0A                     move.l     -[A7], A2
  5960. 00003E10  4EBA FF08                jsr        [PC - 0xF8 /* 00003D1A */]
  5961. 00003E14  4FEF 000E                lea.l      A7, [A7 + 0xE]
  5962. label00003E18:
  5963. 00003E18  4AAA 005C                tst.l      [A2 + 0x5C]
  5964. 00003E1C  6706                     beq        +0x8 /* 00003E24 */
  5965. 00003E1E  206A 005C                movea.l    A0, [A2 + 0x5C]
  5966. 00003E22  A023                     syscall    DisposHandle/DisposeHandle
  5967. label00003E24:
  5968. 00003E24  504F                     addq.w     A7, 8
  5969. 00003E26  245F                     movea.l    A2, [A7]+
  5970. 00003E28  4E75                     rts
  5971. fn00003E2A:
  5972. 00003E2A  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  5973. 00003E2E  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  5974. 00003E32  266F 0026                movea.l    A3, [A7 + 0x26]
  5975. 00003E36  282F 002A                move.l     D4, [A7 + 0x2A]
  5976. 00003E3A  162F 002E                move.b     D3, [A7 + 0x2E]
  5977. 00003E3E  4AAD AA18                tst.l      [A5 - 0x55E8]
  5978. 00003E42  6700 00B4                beq        +0xB6 /* 00003EF8 */
  5979. 00003E46  42A7                     clr.l      -[A7]
  5980. 00003E48  3F2F 0028                move.w     -[A7], [A7 + 0x28]
  5981. 00003E4C  4EBA FE50                jsr        [PC - 0x1B0 /* 00003C9E */]
  5982. 00003E50  2A00                     move.l     D5, D0
  5983. 00003E52  4A85                     tst.l      D5
  5984. 00003E54  5C4F                     addq.w     A7, 6
  5985. 00003E56  6D00 00A0                blt        +0xA2 /* 00003EF8 */
  5986. 00003E5A  2005                     move.l     D0, D5
  5987. 00003E5C  EF88                     lsl        D0, 7
  5988. 00003E5E  2E80                     move.l     [A7], D0
  5989. 00003E60  2F2D 8D0A                move.l     -[A7], [A5 - 0x72F6]
  5990. 00003E64  4EAD DD80                jsr        [A5 - 0x2280]
  5991. 00003E68  D1EF 0004                add.l      A0, [A7 + 0x4]
  5992. 00003E6C  2448                     movea.l    A2, A0
  5993. 00003E6E  4227                     clr.b      -[A7]
  5994. 00003E70  486F 000A                pea.l      [A7 + 0xA]
  5995. 00003E74  486F 0012                pea.l      [A7 + 0x12]
  5996. 00003E78  2F0A                     move.l     -[A7], A2
  5997. 00003E7A  4EBA FE9E                jsr        [PC - 0x162 /* 00003D1A */]
  5998. 00003E7E  4FEF 0012                lea.l      A7, [A7 + 0x12]
  5999. 00003E82  603C                     bra        +0x3E /* 00003EC0 */
  6000. label00003E84:
  6001. 00003E84  7000                     moveq.l    D0, 0x00
  6002. 00003E86  1003                     move.b     D0, D3
  6003. 00003E88  670A                     beq        +0xC /* 00003E94 */
  6004. 00003E8A  5380                     subq.l     D0, 1
  6005. 00003E8C  6714                     beq        +0x16 /* 00003EA2 */
  6006. 00003E8E  5380                     subq.l     D0, 1
  6007. 00003E90  6720                     beq        +0x22 /* 00003EB2 */
  6008. 00003E92  602C                     bra        +0x2E /* 00003EC0 */
  6009. label00003E94:
  6010. 00003E94  206F 0008                movea.l    A0, [A7 + 0x8]
  6011. 00003E98  2F10                     move.l     -[A7], [A0]
  6012. 00003E9A  4EAD F4B0                jsr        [A5 - 0xB50]
  6013. 00003E9E  584F                     addq.w     A7, 4
  6014. 00003EA0  601E                     bra        +0x20 /* 00003EC0 */
  6015. label00003EA2:
  6016. 00003EA2  2F04                     move.l     -[A7], D4
  6017. 00003EA4  206F 000C                movea.l    A0, [A7 + 0xC]
  6018. 00003EA8  2F10                     move.l     -[A7], [A0]
  6019. 00003EAA  4EAD F4A8                jsr        [A5 - 0xB58]
  6020. 00003EAE  504F                     addq.w     A7, 8
  6021. 00003EB0  600E                     bra        +0x10 /* 00003EC0 */
  6022. label00003EB2:
  6023. 00003EB2  2F0B                     move.l     -[A7], A3
  6024. 00003EB4  206F 000C                movea.l    A0, [A7 + 0xC]
  6025. 00003EB8  2F10                     move.l     -[A7], [A0]
  6026. 00003EBA  4EAD F4A0                jsr        [A5 - 0xB60]
  6027. 00003EBE  504F                     addq.w     A7, 8
  6028. label00003EC0:
  6029. 00003EC0  1F3C 0001                move.b     -[A7], 0x1
  6030. 00003EC4  486F 0006                pea.l      [A7 + 0x6]
  6031. 00003EC8  486F 000E                pea.l      [A7 + 0xE]
  6032. 00003ECC  2F0A                     move.l     -[A7], A2
  6033. 00003ECE  4EBA FE4A                jsr        [PC - 0x1B6 /* 00003D1A */]
  6034. 00003ED2  4A80                     tst.l      D0
  6035. 00003ED4  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6036. 00003ED8  66AA                     bne        -0x54 /* 00003E84 */
  6037. 00003EDA  1F3C 0002                move.b     -[A7], 0x2
  6038. 00003EDE  486F 0006                pea.l      [A7 + 0x6]
  6039. 00003EE2  486F 000E                pea.l      [A7 + 0xE]
  6040. 00003EE6  2F0A                     move.l     -[A7], A2
  6041. 00003EE8  4EBA FE30                jsr        [PC - 0x1D0 /* 00003D1A */]
  6042. 00003EEC  2F2D 8D0A                move.l     -[A7], [A5 - 0x72F6]
  6043. 00003EF0  4EAD DD88                jsr        [A5 - 0x2278]
  6044. 00003EF4  4FEF 0012                lea.l      A7, [A7 + 0x12]
  6045. label00003EF8:
  6046. 00003EF8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6047. 00003EFC  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  6048. 00003F00  4E75                     rts
  6049. fn00003F02:
  6050. 00003F02  0CAF 414C 5448 0008      cmpi.l     [A7 + 0x8], 0x414C5448 /* 'ALTH' */
  6051. 00003F0A  670E                     beq        +0x10 /* 00003F1A */
  6052. 00003F0C  0CAF 414C 5468 0008      cmpi.l     [A7 + 0x8], 0x414C5468 /* 'ALTh' */
  6053. 00003F14  6704                     beq        +0x6 /* 00003F1A */
  6054. 00003F16  7000                     moveq.l    D0, 0x00
  6055. 00003F18  4E75                     rts
  6056. label00003F1A:
  6057. 00003F1A  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  6058. 00003F1E  4EAD E310                jsr        [A5 - 0x1CF0]
  6059. 00003F22  584F                     addq.w     A7, 4
  6060. 00003F24  4E75                     rts
  6061. fn00003F26:
  6062. 00003F26  4878 0008                push.l     0x8
  6063. 00003F2A  3F3C 0001                move.w     -[A7], 0x1
  6064. 00003F2E  4878 0018                push.l     0x18
  6065. 00003F32  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  6066. 00003F36  4EAD DE18                jsr        [A5 - 0x21E8]
  6067. 00003F3A  206F 0012                movea.l    A0, [A7 + 0x12]
  6068. 00003F3E  A023                     syscall    DisposHandle/DisposeHandle
  6069. 00003F40  4FEF 000E                lea.l      A7, [A7 + 0xE]
  6070. 00003F44  4E75                     rts
  6071. 00003F46  206F 0008                movea.l    A0, [A7 + 0x8]
  6072. 00003F4A  226F 0004                movea.l    A1, [A7 + 0x4]
  6073. 00003F4E  2029 0004                move.l     D0, [A1 + 0x4]
  6074. 00003F52  90A8 0004                sub.l      D0, [A0 + 0x4]
  6075. 00003F56  4E75                     rts
  6076. fn00003F58:
  6077. 00003F58  48E7 1E3A                movem.l    -[A7], D3,D4,D5,D6,A2,A3,A4,A6
  6078. 00003F5C  286F 002A                movea.l    A4, [A7 + 0x2A]
  6079. 00003F60  4EAD DB08                jsr        [A5 - 0x24F8]
  6080. 00003F64  3C00                     move.w     D6, D0
  6081. 00003F66  7800                     moveq.l    D4, 0x00
  6082. 00003F68  4294                     clr.l      [A4]
  6083. 00003F6A  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  6084. 00003F6E  4EAD DB0E                jsr        [A5 - 0x24F2]
  6085. 00003F72  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  6086. 00003F76  4878 000C                push.l     0xC
  6087. 00003F7A  4EAD DB26                jsr        [A5 - 0x24DA]
  6088. 00003F7E  2C48                     movea.l    A6, A0
  6089. 00003F80  4EAD DB02                jsr        [A5 - 0x24FE]
  6090. 00003F84  3800                     move.w     D4, D0
  6091. 00003F86  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6092. 00003F8A  6600 00D8                bne        +0xDA /* 00004064 */
  6093. 00003F8E  2F0E                     move.l     -[A7], A6
  6094. 00003F90  4EAD DD80                jsr        [A5 - 0x2280]
  6095. 00003F94  2648                     movea.l    A3, A0
  6096. 00003F96  3A13                     move.w     D5, [A3]
  6097. 00003F98  548B                     addq.l     A3, 2
  6098. 00003F9A  3005                     move.w     D0, D5
  6099. 00003F9C  48C0                     ext.l      D0
  6100. 00003F9E  7218                     moveq.l    D1, 0x18
  6101. 00003FA0  4EAD D8F8                jsr        [A5 - 0x2708]
  6102. 00003FA4  2600                     move.l     D3, D0
  6103. 00003FA6  2003                     move.l     D0, D3
  6104. 00003FA8  A322                     syscall    NewHandleClear, flags=3
  6105. 00003FAA  2888                     move.l     [A4], A0
  6106. 00003FAC  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  6107. 00003FB0  301F                     move.w     D0, [A7]+
  6108. 00003FB2  3800                     move.w     D4, D0
  6109. 00003FB4  544F                     addq.w     A7, 2
  6110. 00003FB6  6600 00A2                bne        +0xA4 /* 0000405A */
  6111. 00003FBA  2F14                     move.l     -[A7], [A4]
  6112. 00003FBC  4EAD DD80                jsr        [A5 - 0x2280]
  6113. 00003FC0  2448                     movea.l    A2, A0
  6114. 00003FC2  584F                     addq.w     A7, 4
  6115. 00003FC4  6000 0082                bra        +0x84 /* 00004048 */
  6116. label00003FC8:
  6117. 00003FC8  204B                     movea.l    A0, A3
  6118. 00003FCA  224A                     movea.l    A1, A2
  6119. 00003FCC  7008                     moveq.l    D0, 0x08
  6120. 00003FCE  A02E                     syscall    BlockMove/BlockMoveData
  6121. 00003FD0  508B                     addq.l     A3, 8
  6122. 00003FD2  204B                     movea.l    A0, A3
  6123. 00003FD4  43EA 000C                lea.l      A1, [A2 + 0xC]
  6124. 00003FD8  7004                     moveq.l    D0, 0x04
  6125. 00003FDA  A02E                     syscall    BlockMove/BlockMoveData
  6126. 00003FDC  588B                     addq.l     A3, 4
  6127. 00003FDE  161B                     move.b     D3, [A3]+
  6128. 00003FE0  1003                     move.b     D0, D3
  6129. 00003FE2  7201                     moveq.l    D1, 0x01
  6130. 00003FE4  C081                     and.l      D0, D1
  6131. 00003FE6  6706                     beq        +0x8 /* 00003FEE */
  6132. 00003FE8  002A 0080 0014           ori.b      [A2 + 0x14], 0x80
  6133. label00003FEE:
  6134. 00003FEE  1003                     move.b     D0, D3
  6135. 00003FF0  7202                     moveq.l    D1, 0x02
  6136. 00003FF2  C081                     and.l      D0, D1
  6137. 00003FF4  6706                     beq        +0x8 /* 00003FFC */
  6138. 00003FF6  002A 0040 0014           ori.b      [A2 + 0x14], 0x40 /* '@' */
  6139. label00003FFC:
  6140. 00003FFC  1003                     move.b     D0, D3
  6141. 00003FFE  7204                     moveq.l    D1, 0x04
  6142. 00004000  C081                     and.l      D0, D1
  6143. 00004002  6706                     beq        +0x8 /* 0000400A */
  6144. 00004004  002A 0020 0014           ori.b      [A2 + 0x14], 0x20 /* ' ' */
  6145. label0000400A:
  6146. 0000400A  1003                     move.b     D0, D3
  6147. 0000400C  7208                     moveq.l    D1, 0x08
  6148. 0000400E  C081                     and.l      D0, D1
  6149. 00004010  6706                     beq        +0x8 /* 00004018 */
  6150. 00004012  002A 0010 0014           ori.b      [A2 + 0x14], 0x10
  6151. label00004018:
  6152. 00004018  204B                     movea.l    A0, A3
  6153. 0000401A  70FF                     moveq.l    D0, 0xFFFFFFFF
  6154. label0000401C:
  6155. 0000401C  5280                     addq.l     D0, 1
  6156. 0000401E  4A18                     tst.b      [A0]+
  6157. 00004020  66FA                     bne        -0x4 /* 0000401C */
  6158. 00004022  2600                     move.l     D3, D0
  6159. 00004024  554F                     subq.w     A7, 2
  6160. 00004026  2F0B                     move.l     -[A7], A3
  6161. 00004028  486A 0008                pea.l      [A2 + 0x8]
  6162. 0000402C  2003                     move.l     D0, D3
  6163. 0000402E  5280                     addq.l     D0, 1
  6164. 00004030  2F00                     move.l     -[A7], D0
  6165. 00004032  4EAD DA36                jsr        [A5 - 0x25CA]
  6166. 00004036  301F                     move.w     D0, [A7]+
  6167. 00004038  3800                     move.w     D4, D0
  6168. 0000403A  4A44                     tst.w      D4
  6169. 0000403C  6614                     bne        +0x16 /* 00004052 */
  6170. 0000403E  2003                     move.l     D0, D3
  6171. 00004040  5280                     addq.l     D0, 1
  6172. 00004042  D7C0                     add.l      A3, D0
  6173. 00004044  7018                     moveq.l    D0, 0x18
  6174. 00004046  D5C0                     add.l      A2, D0
  6175. label00004048:
  6176. 00004048  3005                     move.w     D0, D5
  6177. 0000404A  5345                     subq.w     D5, 1
  6178. 0000404C  4A40                     tst.w      D0
  6179. 0000404E  6600 FF78                bne        -0x86 /* 00003FC8 */
  6180. label00004052:
  6181. 00004052  2F14                     move.l     -[A7], [A4]
  6182. 00004054  4EAD DD88                jsr        [A5 - 0x2278]
  6183. 00004058  584F                     addq.w     A7, 4
  6184. label0000405A:
  6185. 0000405A  2F0E                     move.l     -[A7], A6
  6186. 0000405C  4EAD DD88                jsr        [A5 - 0x2278]
  6187. 00004060  584F                     addq.w     A7, 4
  6188. 00004062  6002                     bra        +0x4 /* 00004066 */
  6189. label00004064:
  6190. 00004064  7800                     moveq.l    D4, 0x00
  6191. label00004066:
  6192. 00004066  3F06                     move.w     -[A7], D6
  6193. 00004068  4EAD DB0E                jsr        [A5 - 0x24F2]
  6194. 0000406C  3004                     move.w     D0, D4
  6195. 0000406E  544F                     addq.w     A7, 2
  6196. 00004070  4CDF 5C78                movem.l    D3,D4,D5,D6,A2,A3,A4,A6, [A7]+
  6197. 00004074  4E75                     rts
  6198. 00004076  2F0A                     move.l     -[A7], A2
  6199. 00004078  5D4F                     subq.w     A7, 6
  6200. 0000407A  246F 0012                movea.l    A2, [A7 + 0x12]
  6201. 0000407E  4A92                     tst.l      [A2]
  6202. 00004080  6C0C                     bge        +0xE /* 0000408E */
  6203. 00004082  2F2F 000E                move.l     -[A7], [A7 + 0xE]
  6204. 00004086  4EBA 003C                jsr        [PC + 0x3C /* 000040C4 */]
  6205. 0000408A  2480                     move.l     [A2], D0
  6206. 0000408C  584F                     addq.w     A7, 4
  6207. label0000408E:
  6208. 0000408E  2EAF 0016                move.l     [A7], [A7 + 0x16]
  6209. 00004092  486D E758                pea.l      [A5 - 0x18A8]
  6210. 00004096  4878 0006                push.l     0x6
  6211. 0000409A  2F12                     move.l     -[A7], [A2]
  6212. 0000409C  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  6213. 000040A0  486F 0010                pea.l      [A7 + 0x10]
  6214. 000040A4  4EAD D928                jsr        [A5 - 0x26D8]
  6215. 000040A8  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  6216. 000040AC  245F                     movea.l    A2, [A7]+
  6217. 000040AE  4E75                     rts
  6218. 000040B0  206F 0008                movea.l    A0, [A7 + 0x8]
  6219. 000040B4  2F10                     move.l     -[A7], [A0]
  6220. 000040B6  206F 0008                movea.l    A0, [A7 + 0x8]
  6221. 000040BA  2F10                     move.l     -[A7], [A0]
  6222. 000040BC  4EAD DE10                jsr        [A5 - 0x21F0]
  6223. 000040C0  504F                     addq.w     A7, 8
  6224. 000040C2  4E75                     rts
  6225. fn000040C4:
  6226. 000040C4  48E7 1030                movem.l    -[A7], D3,A2,A3
  6227. 000040C8  266F 0010                movea.l    A3, [A7 + 0x10]
  6228. 000040CC  244B                     movea.l    A2, A3
  6229. 000040CE  7600                     moveq.l    D3, 0x00
  6230. 000040D0  6004                     bra        +0x6 /* 000040D6 */
  6231. label000040D2:
  6232. 000040D2  5283                     addq.l     D3, 1
  6233. 000040D4  5C8A                     addq.l     A2, 6
  6234. label000040D6:
  6235. 000040D6  4A92                     tst.l      [A2]
  6236. 000040D8  66F8                     bne        -0x6 /* 000040D2 */
  6237. 000040DA  486D E758                pea.l      [A5 - 0x18A8]
  6238. 000040DE  4878 0006                push.l     0x6
  6239. 000040E2  2F03                     move.l     -[A7], D3
  6240. 000040E4  2F0B                     move.l     -[A7], A3
  6241. 000040E6  4EAD D934                jsr        [A5 - 0x26CC]
  6242. 000040EA  2003                     move.l     D0, D3
  6243. 000040EC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6244. 000040F0  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  6245. 000040F4  4E75                     rts
  6246. 000040F6  4AAD 8D16                tst.l      [A5 - 0x72EA]
  6247. 000040FA  670A                     beq        +0xC /* 00004106 */
  6248. 000040FC  206D 8D16                movea.l    A0, [A5 - 0x72EA]
  6249. 00004100  A01F                     syscall    DisposPtr/DisposePtr
  6250. 00004102  42AD 8D16                clr.l      [A5 - 0x72EA]
  6251. label00004106:
  6252. 00004106  4E75                     rts
  6253. 00004108  594F                     subq.w     A7, 4
  6254. 0000410A  203C 0000 0E80           move.l     D0, 0xE80
  6255. 00004110  A11E                     syscall    NewPtr, flags=1
  6256. 00004112  2B48 8D16                move.l     [A5 - 0x72EA], A0
  6257. 00004116  2008                     move.l     D0, A0
  6258. 00004118  6606                     bne        +0x8 /* 00004120 */
  6259. 0000411A  7000                     moveq.l    D0, 0x00
  6260. 0000411C  584F                     addq.w     A7, 4
  6261. 0000411E  4E75                     rts
  6262. label00004120:
  6263. 00004120  A11A                     syscall    GetZone, flags=1
  6264. 00004122  2E88                     move.l     [A7], A0
  6265. 00004124  42A7                     clr.l      -[A7]
  6266. 00004126  4267                     clr.w      -[A7]
  6267. 00004128  206D 8D16                movea.l    A0, [A5 - 0x72EA]
  6268. 0000412C  4868 0E80                pea.l      [A0 + 0xE80]
  6269. 00004130  2F2D 8D16                move.l     -[A7], [A5 - 0x72EA]
  6270. 00004134  4EAD D9A6                jsr        [A5 - 0x265A]
  6271. 00004138  2057                     movea.l    A0, [A7]
  6272. 0000413A  A01B                     syscall    SetZone
  6273. 0000413C  7001                     moveq.l    D0, 0x01
  6274. 0000413E  584F                     addq.w     A7, 4
  6275. 00004140  4E75                     rts
  6276. 00004142  206F 0004                movea.l    A0, [A7 + 0x4]
  6277. 00004146  4AAF 0008                tst.l      [A7 + 0x8]
  6278. 0000414A  6708                     beq        +0xA /* 00004154 */
  6279. 0000414C  216F 0008 014C           move.l     [A0 + 0x14C], [A7 + 0x8]
  6280. 00004152  600C                     bra        +0xE /* 00004160 */
  6281. label00004154:
  6282. 00004154  202D B634                move.l     D0, [A5 - 0x49CC]
  6283. 00004158  52AD B634                addq.l     [A5 - 0x49CC], 1
  6284. 0000415C  2140 014C                move.l     [A0 + 0x14C], D0
  6285. label00004160:
  6286. 00004160  4E75                     rts
  6287. 00004162  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  6288. 00004166  4FEF FEEE                lea.l      A7, [A7 - 0x112]
  6289. 0000416A  382F 0142                move.w     D4, [A7 + 0x142]
  6290. 0000416E  162F 0146                move.b     D3, [A7 + 0x146]
  6291. 00004172  266F 014C                movea.l    A3, [A7 + 0x14C]
  6292. 00004176  7A01                     moveq.l    D5, 0x01
  6293. 00004178  554F                     subq.w     A7, 2
  6294. 0000417A  2F3C 414C 4C20           move.l     -[A7], 0x414C4C20 /* 'ALL ' */
  6295. 00004180  A80D                     syscall    Count1Resources
  6296. 00004182  301F                     move.w     D0, [A7]+
  6297. 00004184  56C0                     sne        D0
  6298. 00004186  4400                     neg.b      D0
  6299. 00004188  4880                     ext.w      D0
  6300. 0000418A  48C0                     ext.l      D0
  6301. 0000418C  2B40 8D1E                move.l     [A5 - 0x72E2], D0
  6302. 00004190  4EBA 25D2                jsr        [PC + 0x25D2 /* 00006764 */]
  6303. 00004194  2C48                     movea.l    A6, A0
  6304. 00004196  2008                     move.l     D0, A0
  6305. 00004198  660C                     bne        +0xE /* 000041A6 */
  6306. 0000419A  91C8                     sub.l      A0, A0
  6307. 0000419C  4FEF 0112                lea.l      A7, [A7 + 0x112]
  6308. 000041A0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6309. 000041A4  4E75                     rts
  6310. label000041A6:
  6311. 000041A6  1F03                     move.b     -[A7], D3
  6312. 000041A8  3F04                     move.w     -[A7], D4
  6313. 000041AA  4EBA 2C8C                jsr        [PC + 0x2C8C /* 00006E38 */]
  6314. 000041AE  2C00                     move.l     D6, D0
  6315. 000041B0  0C03 0006                cmpi.b     D3, 0x6
  6316. 000041B4  584F                     addq.w     A7, 4
  6317. 000041B6  673E                     beq        +0x40 /* 000041F6 */
  6318. 000041B8  0C03 0001                cmpi.b     D3, 0x1
  6319. 000041BC  6738                     beq        +0x3A /* 000041F6 */
  6320. 000041BE  0C03 0003                cmpi.b     D3, 0x3
  6321. 000041C2  6732                     beq        +0x34 /* 000041F6 */
  6322. 000041C4  0C03 0004                cmpi.b     D3, 0x4
  6323. 000041C8  672C                     beq        +0x2E /* 000041F6 */
  6324. 000041CA  4878 0001                push.l     0x1
  6325. 000041CE  4878 0100                push.l     0x100
  6326. 000041D2  486F 0010                pea.l      [A7 + 0x10]
  6327. 000041D6  2F06                     move.l     -[A7], D6
  6328. 000041D8  3F04                     move.w     -[A7], D4
  6329. 000041DA  4EAD E1B8                jsr        [A5 - 0x1E48]
  6330. 000041DE  4A80                     tst.l      D0
  6331. 000041E0  4FEF 0012                lea.l      A7, [A7 + 0x12]
  6332. 000041E4  6710                     beq        +0x12 /* 000041F6 */
  6333. 000041E6  486F 0008                pea.l      [A7 + 0x8]
  6334. 000041EA  4EAD DA78                jsr        [A5 - 0x2588]
  6335. 000041EE  45EF 000C                lea.l      A2, [A7 + 0xC]
  6336. 000041F2  584F                     addq.w     A7, 4
  6337. 000041F4  6004                     bra        +0x6 /* 000041FA */
  6338. label000041F6:
  6339. 000041F6  246F 013E                movea.l    A2, [A7 + 0x13E]
  6340. label000041FA:
  6341. 000041FA  4857                     pea.l      [A7]
  6342. 000041FC  486F 0008                pea.l      [A7 + 0x8]
  6343. 00004200  2F0B                     move.l     -[A7], A3
  6344. 00004202  1F03                     move.b     -[A7], D3
  6345. 00004204  3F04                     move.w     -[A7], D4
  6346. 00004206  4EBA 3072                jsr        [PC + 0x3072 /* 0000727A */]
  6347. 0000420A  3E00                     move.w     D7, D0
  6348. 0000420C  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6349. 00004210  4FEF 0010                lea.l      A7, [A7 + 0x10]
  6350. 00004214  672E                     beq        +0x30 /* 00004244 */
  6351. 00004216  4A03                     tst.b      D3
  6352. 00004218  6706                     beq        +0x8 /* 00004220 */
  6353. 0000421A  0C03 0002                cmpi.b     D3, 0x2
  6354. 0000421E  6624                     bne        +0x26 /* 00004244 */
  6355. label00004220:
  6356. 00004220  200B                     move.l     D0, A3
  6357. 00004222  6620                     bne        +0x22 /* 00004244 */
  6358. 00004224  1F3C 000A                move.b     -[A7], 0xA /* '\n' */
  6359. 00004228  3F04                     move.w     -[A7], D4
  6360. 0000422A  4EBA F194                jsr        [PC - 0xE6C /* 000033C0 */]
  6361. 0000422E  2648                     movea.l    A3, A0
  6362. 00004230  B7FC 414C 5468           cmpa.l     A3, 0x414C5468 /* 'ALTh' */
  6363. 00004236  584F                     addq.w     A7, 4
  6364. 00004238  670A                     beq        +0xC /* 00004244 */
  6365. 0000423A  B7FC 414C 5476           cmpa.l     A3, 0x414C5476 /* 'ALTv' */
  6366. 00004240  6702                     beq        +0x4 /* 00004244 */
  6367. 00004242  7A00                     moveq.l    D5, 0x00
  6368. label00004244:
  6369. 00004244  3F3C 0001                move.w     -[A7], 0x1
  6370. 00004248  486D 1584                pea.l      [A5 + 0x1584]
  6371. 0000424C  486F 010E                pea.l      [A7 + 0x10E]
  6372. 00004250  4EAD DD18                jsr        [A5 - 0x22E8]
  6373. 00004254  4EBA 2C5E                jsr        [PC + 0x2C5E /* 00006EB4 */]
  6374. 00004258  2848                     movea.l    A4, A0
  6375. 0000425A  7000                     moveq.l    D0, 0x00
  6376. 0000425C  102D 81A0                move.b     D0, [A5 - 0x7E60]
  6377. 00004260  7202                     moveq.l    D1, 0x02
  6378. 00004262  B081                     cmp.l      D0, D1
  6379. 00004264  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6380. 00004268  6D20                     blt        +0x22 /* 0000428A */
  6381. 0000426A  594F                     subq.w     A7, 4
  6382. 0000426C  2F0E                     move.l     -[A7], A6
  6383. 0000426E  486F 0110                pea.l      [A7 + 0x110]
  6384. 00004272  2F0A                     move.l     -[A7], A2
  6385. 00004274  4227                     clr.b      -[A7]
  6386. 00004276  3F07                     move.w     -[A7], D7
  6387. 00004278  2F0C                     move.l     -[A7], A4
  6388. 0000427A  1F05                     move.b     -[A7], D5
  6389. 0000427C  42A7                     clr.l      -[A7]
  6390. 0000427E  206D 1332                movea.l    A0, [A5 + 0x1332 /* export_610 */]
  6391. 00004282  4E90                     jsr        [A0]
  6392. 00004284  205F                     movea.l    A0, [A7]+
  6393. 00004286  2648                     movea.l    A3, A0
  6394. 00004288  601E                     bra        +0x20 /* 000042A8 */
  6395. label0000428A:
  6396. 0000428A  594F                     subq.w     A7, 4
  6397. 0000428C  2F0E                     move.l     -[A7], A6
  6398. 0000428E  486F 0110                pea.l      [A7 + 0x110]
  6399. 00004292  2F0A                     move.l     -[A7], A2
  6400. 00004294  4227                     clr.b      -[A7]
  6401. 00004296  3F07                     move.w     -[A7], D7
  6402. 00004298  2F0C                     move.l     -[A7], A4
  6403. 0000429A  1F05                     move.b     -[A7], D5
  6404. 0000429C  42A7                     clr.l      -[A7]
  6405. 0000429E  206D 1336                movea.l    A0, [A5 + 0x1336]
  6406. 000042A2  4E90                     jsr        [A0]
  6407. 000042A4  205F                     movea.l    A0, [A7]+
  6408. 000042A6  2648                     movea.l    A3, A0
  6409. label000042A8:
  6410. 000042A8  426F 0110                clr.w      [A7 + 0x110]
  6411. 000042AC  244B                     movea.l    A2, A3
  6412. 000042AE  200B                     move.l     D0, A3
  6413. 000042B0  6608                     bne        +0xA /* 000042BA */
  6414. 000042B2  3F7C FF94 0110           move.w     [A7 + 0x110], 0xFF94
  6415. 000042B8  6026                     bra        +0x28 /* 000042E0 */
  6416. label000042BA:
  6417. 000042BA  4AAD 1312                tst.l      [A5 + 0x1312 /* export_606 */]
  6418. 000042BE  6620                     bne        +0x22 /* 000042E0 */
  6419. 000042C0  0C03 0004                cmpi.b     D3, 0x4
  6420. 000042C4  671A                     beq        +0x1C /* 000042E0 */
  6421. 000042C6  0C03 0006                cmpi.b     D3, 0x6
  6422. 000042CA  6714                     beq        +0x16 /* 000042E0 */
  6423. 000042CC  486F 0110                pea.l      [A7 + 0x110]
  6424. 000042D0  3F04                     move.w     -[A7], D4
  6425. 000042D2  2F0B                     move.l     -[A7], A3
  6426. 000042D4  4EAD DBB6                jsr        [A5 - 0x244A]
  6427. 000042D8  2548 013C                move.l     [A2 + 0x13C], A0
  6428. 000042DC  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6429. label000042E0:
  6430. 000042E0  4A6F 0110                tst.w      [A7 + 0x110]
  6431. 000042E4  6724                     beq        +0x26 /* 0000430A */
  6432. 000042E6  200A                     move.l     D0, A2
  6433. 000042E8  6708                     beq        +0xA /* 000042F2 */
  6434. 000042EA  2F0B                     move.l     -[A7], A3
  6435. 000042EC  4EBA 00F8                jsr        [PC + 0xF8 /* 000043E6 */]
  6436. 000042F0  584F                     addq.w     A7, 4
  6437. label000042F2:
  6438. 000042F2  3F2F 0110                move.w     -[A7], [A7 + 0x110]
  6439. 000042F6  3F3C 0002                move.w     -[A7], 0x2
  6440. 000042FA  4EAD DE98                jsr        [A5 - 0x2168]
  6441. 000042FE  91C8                     sub.l      A0, A0
  6442. 00004300  4FEF 0116                lea.l      A7, [A7 + 0x116]
  6443. 00004304  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6444. 00004308  4E75                     rts
  6445. label0000430A:
  6446. 0000430A  356D B416 006C           move.w     [A2 + 0x6C], [A5 - 0x4BEA]
  6447. 00004310  3544 0166                move.w     [A2 + 0x166], D4
  6448. 00004314  356F 0144 0168           move.w     [A2 + 0x168], [A7 + 0x144]
  6449. 0000431A  206F 013A                movea.l    A0, [A7 + 0x13A]
  6450. 0000431E  43EA 009C                lea.l      A1, [A2 + 0x9C]
  6451. 00004322  7010                     moveq.l    D0, 0x10
  6452. label00004324:
  6453. 00004324  22D8                     move.l     [A1]+, [A0]+
  6454. 00004326  51C8 FFFC                dbf        D0, -0x6 /* 00004324 */
  6455. 0000432A  32D8                     move.w     [A1]+, [A0]+
  6456. 0000432C  1543 016A                move.b     [A2 + 0x16A], D3
  6457. 00004330  2546 0148                move.l     [A2 + 0x148], D6
  6458. 00004334  256F 0004 0158           move.l     [A2 + 0x158], [A7 + 0x4]
  6459. 0000433A  2557 015C                move.l     [A2 + 0x15C], [A7]
  6460. 0000433E  4AAF 0154                tst.l      [A7 + 0x154]
  6461. 00004342  6712                     beq        +0x14 /* 00004356 */
  6462. 00004344  206F 0154                movea.l    A0, [A7 + 0x154]
  6463. 00004348  43EA 00EC                lea.l      A1, [A2 + 0xEC]
  6464. 0000434C  22D8                     move.l     [A1]+, [A0]+
  6465. 0000434E  22D8                     move.l     [A1]+, [A0]+
  6466. 00004350  22D8                     move.l     [A1]+, [A0]+
  6467. 00004352  32D8                     move.w     [A1]+, [A0]+
  6468. 00004354  6006                     bra        +0x8 /* 0000435C */
  6469. label00004356:
  6470. 00004356  70FF                     moveq.l    D0, 0xFFFFFFFF
  6471. 00004358  2540 00F0                move.l     [A2 + 0xF0], D0
  6472. label0000435C:
  6473. 0000435C  2F0B                     move.l     -[A7], A3
  6474. 0000435E  4EAD DD40                jsr        [A5 - 0x22C0]
  6475. 00004362  4AAF 0154                tst.l      [A7 + 0x154]
  6476. 00004366  584F                     addq.w     A7, 4
  6477. 00004368  6748                     beq        +0x4A /* 000043B2 */
  6478. 0000436A  2F0A                     move.l     -[A7], A2
  6479. 0000436C  4EBA 244E                jsr        [PC + 0x244E /* 000067BC */]
  6480. 00004370  3F40 0114                move.w     [A7 + 0x114], D0
  6481. 00004374  584F                     addq.w     A7, 4
  6482. 00004376  671E                     beq        +0x20 /* 00004396 */
  6483. 00004378  554F                     subq.w     A7, 2
  6484. 0000437A  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  6485. 0000437E  301F                     move.w     D0, [A7]+
  6486. 00004380  3F00                     move.w     -[A7], D0
  6487. 00004382  3F3C 0002                move.w     -[A7], 0x2
  6488. 00004386  4EAD DE98                jsr        [A5 - 0x2168]
  6489. 0000438A  2F0B                     move.l     -[A7], A3
  6490. 0000438C  4EBA 0058                jsr        [PC + 0x58 /* 000043E6 */]
  6491. 00004390  97CB                     sub.l      A3, A3
  6492. 00004392  504F                     addq.w     A7, 8
  6493. 00004394  601C                     bra        +0x1E /* 000043B2 */
  6494. label00004396:
  6495. 00004396  0C03 0001                cmpi.b     D3, 0x1
  6496. 0000439A  6716                     beq        +0x18 /* 000043B2 */
  6497. 0000439C  554F                     subq.w     A7, 2
  6498. 0000439E  2F0B                     move.l     -[A7], A3
  6499. 000043A0  206D 1356                movea.l    A0, [A5 + 0x1356]
  6500. 000043A4  4E90                     jsr        [A0]
  6501. 000043A6  301F                     move.w     D0, [A7]+
  6502. 000043A8  6608                     bne        +0xA /* 000043B2 */
  6503. 000043AA  2F0B                     move.l     -[A7], A3
  6504. 000043AC  4EAD E4D8                jsr        [A5 - 0x1B28]
  6505. 000043B0  584F                     addq.w     A7, 4
  6506. label000043B2:
  6507. 000043B2  200B                     move.l     D0, A3
  6508. 000043B4  670E                     beq        +0x10 /* 000043C4 */
  6509. 000043B6  2F0A                     move.l     -[A7], A2
  6510. 000043B8  4EBA 290C                jsr        [PC + 0x290C /* 00006CC6 */]
  6511. 000043BC  7001                     moveq.l    D0, 0x01
  6512. 000043BE  2B40 8D12                move.l     [A5 - 0x72EE], D0
  6513. 000043C2  584F                     addq.w     A7, 4
  6514. label000043C4:
  6515. 000043C4  4EAD DD48                jsr        [A5 - 0x22B8]
  6516. 000043C8  200B                     move.l     D0, A3
  6517. 000043CA  670E                     beq        +0x10 /* 000043DA */
  6518. 000043CC  4AAF 0148                tst.l      [A7 + 0x148]
  6519. 000043D0  6708                     beq        +0xA /* 000043DA */
  6520. 000043D2  2F0B                     move.l     -[A7], A3
  6521. 000043D4  206D 133E                movea.l    A0, [A5 + 0x133E]
  6522. 000043D8  4E90                     jsr        [A0]
  6523. label000043DA:
  6524. 000043DA  204B                     movea.l    A0, A3
  6525. 000043DC  4FEF 0112                lea.l      A7, [A7 + 0x112]
  6526. 000043E0  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6527. 000043E4  4E75                     rts
  6528. fn000043E6:
  6529. 000043E6  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  6530. 000043EA  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  6531. 000043EE  286F 0034                movea.l    A4, [A7 + 0x34]
  6532. 000043F2  244C                     movea.l    A2, A4
  6533. 000043F4  B9ED ADC2                cmpa.l     A4, [A5 - 0x523E]
  6534. 000043F8  57C0                     seq        D0
  6535. 000043FA  4400                     neg.b      D0
  6536. 000043FC  4880                     ext.w      D0
  6537. 000043FE  48C0                     ext.l      D0
  6538. 00004400  2C40                     movea.l    A6, D0
  6539. 00004402  B9ED B0CE                cmpa.l     A4, [A5 - 0x4F32]
  6540. 00004406  57C0                     seq        D0
  6541. 00004408  4400                     neg.b      D0
  6542. 0000440A  4880                     ext.w      D0
  6543. 0000440C  48C0                     ext.l      D0
  6544. 0000440E  2E80                     move.l     [A7], D0
  6545. 00004410  7A00                     moveq.l    D5, 0x00
  6546. 00004412  7C00                     moveq.l    D6, 0x00
  6547. 00004414  200C                     move.l     D0, A4
  6548. 00004416  6700 034E                beq        +0x350 /* 00004766 */
  6549. 0000441A  2F0C                     move.l     -[A7], A4
  6550. 0000441C  4EAD DD40                jsr        [A5 - 0x22C0]
  6551. 00004420  4A2A 016A                tst.b      [A2 + 0x16A]
  6552. 00004424  584F                     addq.w     A7, 4
  6553. 00004426  6708                     beq        +0xA /* 00004430 */
  6554. 00004428  0C2A 0002 016A           cmpi.b     [A2 + 0x16A], 0x2
  6555. 0000442E  660C                     bne        +0xE /* 0000443C */
  6556. label00004430:
  6557. 00004430  2F0C                     move.l     -[A7], A4
  6558. 00004432  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  6559. 00004436  4EBA F478                jsr        [PC - 0xB88 /* 000038B0 */]
  6560. 0000443A  5C4F                     addq.w     A7, 6
  6561. label0000443C:
  6562. 0000443C  2F0C                     move.l     -[A7], A4
  6563. 0000443E  206D 134A                movea.l    A0, [A5 + 0x134A /* export_613 */]
  6564. 00004442  4E90                     jsr        [A0]
  6565. 00004444  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6566. 00004448  661C                     bne        +0x1E /* 00004466 */
  6567. 0000444A  4AAD B0D2                tst.l      [A5 - 0x4F2E]
  6568. 0000444E  6716                     beq        +0x18 /* 00004466 */
  6569. 00004450  594F                     subq.w     A7, 4
  6570. 00004452  4EAD FB98                jsr        [A5 - 0x468]
  6571. 00004456  205F                     movea.l    A0, [A7]+
  6572. 00004458  B9C8                     cmpa.l     A4, A0
  6573. 0000445A  660A                     bne        +0xC /* 00004466 */
  6574. 0000445C  2F2D B0CE                move.l     -[A7], [A5 - 0x4F32]
  6575. 00004460  4EBA FF84                jsr        [PC - 0x7C /* 000043E6 */]
  6576. 00004464  584F                     addq.w     A7, 4
  6577. label00004466:
  6578. 00004466  4A2A 016A                tst.b      [A2 + 0x16A]
  6579. 0000446A  6620                     bne        +0x22 /* 0000448C */
  6580. 0000446C  4AAA 0134                tst.l      [A2 + 0x134]
  6581. 00004470  671A                     beq        +0x1C /* 0000448C */
  6582. 00004472  4EAD E998                jsr        [A5 - 0x1668]
  6583. 00004476  2648                     movea.l    A3, A0
  6584. 00004478  200B                     move.l     D0, A3
  6585. 0000447A  6710                     beq        +0x12 /* 0000448C */
  6586. 0000447C  302B 0166                move.w     D0, [A3 + 0x166]
  6587. 00004480  B06A 0166                cmp.w      D0, [A2 + 0x166]
  6588. 00004484  6606                     bne        +0x8 /* 0000448C */
  6589. 00004486  2F0B                     move.l     -[A7], A3
  6590. 00004488  4EAD DF80                jsr        [A5 - 0x2080]
  6591. label0000448C:
  6592. 0000448C  4AAA 0128                tst.l      [A2 + 0x128]
  6593. 00004490  6706                     beq        +0x8 /* 00004498 */
  6594. 00004492  2F2A 0128                move.l     -[A7], [A2 + 0x128]
  6595. 00004496  A8F5                     syscall    KillPicture
  6596. label00004498:
  6597. 00004498  4EAD E998                jsr        [A5 - 0x1668]
  6598. 0000449C  B9C8                     cmpa.l     A4, A0
  6599. 0000449E  6608                     bne        +0xA /* 000044A8 */
  6600. 000044A0  42A7                     clr.l      -[A7]
  6601. 000044A2  4EAD E9A0                jsr        [A5 - 0x1660]
  6602. 000044A6  584F                     addq.w     A7, 4
  6603. label000044A8:
  6604. 000044A8  4AAA 013C                tst.l      [A2 + 0x13C]
  6605. 000044AC  670A                     beq        +0xC /* 000044B8 */
  6606. 000044AE  2F2A 013C                move.l     -[A7], [A2 + 0x13C]
  6607. 000044B2  4EAD DBBC                jsr        [A5 - 0x2444]
  6608. 000044B6  584F                     addq.w     A7, 4
  6609. label000044B8:
  6610. 000044B8  2F0A                     move.l     -[A7], A2
  6611. 000044BA  4EBA 243E                jsr        [PC + 0x243E /* 000068FA */]
  6612. 000044BE  4A2A 016A                tst.b      [A2 + 0x16A]
  6613. 000044C2  584F                     addq.w     A7, 4
  6614. 000044C4  6600 00D4                bne        +0xD6 /* 0000459A */
  6615. 000044C8  7600                     moveq.l    D3, 0x00
  6616. 000044CA  3F3C 0004                move.w     -[A7], 0x4
  6617. 000044CE  4EAD DDA0                jsr        [A5 - 0x2260]
  6618. 000044D2  2F6C 0010 0004           move.l     [A7 + 0x4], [A4 + 0x10]
  6619. 000044D8  2F6C 0014 0008           move.l     [A7 + 0x8], [A4 + 0x14]
  6620. 000044DE  486F 0004                pea.l      [A7 + 0x4]
  6621. 000044E2  A870                     syscall    LocalToGlobal
  6622. 000044E4  486F 0008                pea.l      [A7 + 0x8]
  6623. 000044E8  A870                     syscall    LocalToGlobal
  6624. 000044EA  302A 0168                move.w     D0, [A2 + 0x168]
  6625. 000044EE  48C0                     ext.l      D0
  6626. 000044F0  4A80                     tst.l      D0
  6627. 000044F2  6D74                     blt        +0x76 /* 00004568 */
  6628. 000044F4  7800                     moveq.l    D4, 0x00
  6629. 000044F6  1F3C 000A                move.b     -[A7], 0xA /* '\n' */
  6630. 000044FA  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  6631. 000044FE  4EBA EEC0                jsr        [PC - 0x1140 /* 000033C0 */]
  6632. 00004502  2E08                     move.l     D7, A0
  6633. 00004504  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6634. 00004508  584F                     addq.w     A7, 4
  6635. 0000450A  6710                     beq        +0x12 /* 0000451C */
  6636. 0000450C  0C87 414C 5468           cmpi.l     D7, 0x414C5468 /* 'ALTh' */
  6637. 00004512  6708                     beq        +0xA /* 0000451C */
  6638. 00004514  0C87 414C 5476           cmpi.l     D7, 0x414C5476 /* 'ALTv' */
  6639. 0000451A  6606                     bne        +0x8 /* 00004522 */
  6640. label0000451C:
  6641. 0000451C  3E2A 0168                move.w     D7, [A2 + 0x168]
  6642. 00004520  6006                     bra        +0x8 /* 00004528 */
  6643. label00004522:
  6644. 00004522  4EAD FF40                jsr        [A5 - 0xC0]
  6645. 00004526  3E00                     move.w     D7, D0
  6646. label00004528:
  6647. 00004528  486F 0004                pea.l      [A7 + 0x4]
  6648. 0000452C  3F07                     move.w     -[A7], D7
  6649. 0000452E  4EAD E2E0                jsr        [A5 - 0x1D20]
  6650. 00004532  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6651. 00004536  5C4F                     addq.w     A7, 6
  6652. 00004538  662E                     bne        +0x30 /* 00004568 */
  6653. 0000453A  4A44                     tst.w      D4
  6654. 0000453C  661A                     bne        +0x1C /* 00004558 */
  6655. 0000453E  4AAA 0138                tst.l      [A2 + 0x138]
  6656. 00004542  6714                     beq        +0x16 /* 00004558 */
  6657. 00004544  42A7                     clr.l      -[A7]
  6658. 00004546  2F2A 0138                move.l     -[A7], [A2 + 0x138]
  6659. 0000454A  3F2A 0168                move.w     -[A7], [A2 + 0x168]
  6660. 0000454E  4EAD E1C8                jsr        [A5 - 0x1E38]
  6661. 00004552  3800                     move.w     D4, D0
  6662. 00004554  4FEF 000A                lea.l      A7, [A7 + 0xA]
  6663. label00004558:
  6664. 00004558  4A44                     tst.w      D4
  6665. 0000455A  670C                     beq        +0xE /* 00004568 */
  6666. 0000455C  3F04                     move.w     -[A7], D4
  6667. 0000455E  3F3C 000A                move.w     -[A7], 0xA /* '\n' */
  6668. 00004562  4EAD DE98                jsr        [A5 - 0x2168]
  6669. 00004566  584F                     addq.w     A7, 4
  6670. label00004568:
  6671. 00004568  2F2A 0138                move.l     -[A7], [A2 + 0x138]
  6672. 0000456C  4EAD E900                jsr        [A5 - 0x1700]
  6673. 00004570  584F                     addq.w     A7, 4
  6674. 00004572  6014                     bra        +0x16 /* 00004588 */
  6675. label00004574:
  6676. 00004574  302B 0166                move.w     D0, [A3 + 0x166]
  6677. 00004578  B06A 0166                cmp.w      D0, [A2 + 0x166]
  6678. 0000457C  660A                     bne        +0xC /* 00004588 */
  6679. 0000457E  2F0B                     move.l     -[A7], A3
  6680. 00004580  4EBA FE64                jsr        [PC - 0x19C /* 000043E6 */]
  6681. 00004584  7600                     moveq.l    D3, 0x00
  6682. 00004586  584F                     addq.w     A7, 4
  6683. label00004588:
  6684. 00004588  2003                     move.l     D0, D3
  6685. 0000458A  5283                     addq.l     D3, 1
  6686. 0000458C  2F00                     move.l     -[A7], D0
  6687. 0000458E  4EAD DC78                jsr        [A5 - 0x2388]
  6688. 00004592  2648                     movea.l    A3, A0
  6689. 00004594  2008                     move.l     D0, A0
  6690. 00004596  584F                     addq.w     A7, 4
  6691. 00004598  66DA                     bne        -0x24 /* 00004574 */
  6692. label0000459A:
  6693. 0000459A  0C2A 0001 016A           cmpi.b     [A2 + 0x16A], 0x1
  6694. 000045A0  6716                     beq        +0x18 /* 000045B8 */
  6695. 000045A2  554F                     subq.w     A7, 2
  6696. 000045A4  2F0C                     move.l     -[A7], A4
  6697. 000045A6  206D 1356                movea.l    A0, [A5 + 0x1356]
  6698. 000045AA  4E90                     jsr        [A0]
  6699. 000045AC  301F                     move.w     D0, [A7]+
  6700. 000045AE  6608                     bne        +0xA /* 000045B8 */
  6701. 000045B0  2F0C                     move.l     -[A7], A4
  6702. 000045B2  4EAD E4E0                jsr        [A5 - 0x1B20]
  6703. 000045B6  584F                     addq.w     A7, 4
  6704. label000045B8:
  6705. 000045B8  2F0C                     move.l     -[A7], A4
  6706. 000045BA  4EAD E960                jsr        [A5 - 0x16A0]
  6707. 000045BE  4AAA 012C                tst.l      [A2 + 0x12C]
  6708. 000045C2  584F                     addq.w     A7, 4
  6709. 000045C4  6706                     beq        +0x8 /* 000045CC */
  6710. 000045C6  206A 012C                movea.l    A0, [A2 + 0x12C]
  6711. 000045CA  A049                     syscall    HPurge
  6712. label000045CC:
  6713. 000045CC  0C2A 0004 016A           cmpi.b     [A2 + 0x16A], 0x4
  6714. 000045D2  675A                     beq        +0x5C /* 0000462E */
  6715. 000045D4  0C2A 0006 016A           cmpi.b     [A2 + 0x16A], 0x6
  6716. 000045DA  6752                     beq        +0x54 /* 0000462E */
  6717. 000045DC  1F3C 0006                move.b     -[A7], 0x6
  6718. 000045E0  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  6719. 000045E4  2F0C                     move.l     -[A7], A4
  6720. 000045E6  4EBA 287A                jsr        [PC + 0x287A /* 00006E62 */]
  6721. 000045EA  4A80                     tst.l      D0
  6722. 000045EC  504F                     addq.w     A7, 8
  6723. 000045EE  6618                     bne        +0x1A /* 00004608 */
  6724. 000045F0  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6725. 000045F4  6602                     bne        +0x4 /* 000045F8 */
  6726. 000045F6  7A01                     moveq.l    D5, 0x01
  6727. label000045F8:
  6728. 000045F8  302D B632                move.w     D0, [A5 - 0x49CE]
  6729. 000045FC  B06A 0166                cmp.w      D0, [A2 + 0x166]
  6730. 00004600  6606                     bne        +0x8 /* 00004608 */
  6731. 00004602  3B7C FFFF B632           move.w     [A5 - 0x49CE], 0xFFFF
  6732. label00004608:
  6733. 00004608  4AAD B2D8                tst.l      [A5 - 0x4D28]
  6734. 0000460C  6620                     bne        +0x22 /* 0000462E */
  6735. 0000460E  302A 0168                move.w     D0, [A2 + 0x168]
  6736. 00004612  48C0                     ext.l      D0
  6737. 00004614  4A80                     tst.l      D0
  6738. 00004616  6D16                     blt        +0x18 /* 0000462E */
  6739. 00004618  1F3C 0007                move.b     -[A7], 0x7
  6740. 0000461C  3F2A 0168                move.w     -[A7], [A2 + 0x168]
  6741. 00004620  2F0C                     move.l     -[A7], A4
  6742. 00004622  4EBA 283E                jsr        [PC + 0x283E /* 00006E62 */]
  6743. 00004626  4A80                     tst.l      D0
  6744. 00004628  504F                     addq.w     A7, 8
  6745. 0000462A  6602                     bne        +0x4 /* 0000462E */
  6746. 0000462C  7C01                     moveq.l    D6, 0x01
  6747. label0000462E:
  6748. 0000462E  0C2A 0004 016A           cmpi.b     [A2 + 0x16A], 0x4
  6749. 00004634  6726                     beq        +0x28 /* 0000465C */
  6750. 00004636  0C2A 0006 016A           cmpi.b     [A2 + 0x16A], 0x6
  6751. 0000463C  671E                     beq        +0x20 /* 0000465C */
  6752. 0000463E  7000                     moveq.l    D0, 0x00
  6753. 00004640  102D 81A0                move.b     D0, [A5 - 0x7E60]
  6754. 00004644  7202                     moveq.l    D1, 0x02
  6755. 00004646  B081                     cmp.l      D0, D1
  6756. 00004648  6D12                     blt        +0x14 /* 0000465C */
  6757. 0000464A  594F                     subq.w     A7, 4
  6758. 0000464C  2F0C                     move.l     -[A7], A4
  6759. 0000464E  AA96                     syscall    GetPalette
  6760. 00004650  205F                     movea.l    A0, [A7]+
  6761. 00004652  2648                     movea.l    A3, A0
  6762. 00004654  200B                     move.l     D0, A3
  6763. 00004656  6704                     beq        +0x6 /* 0000465C */
  6764. 00004658  2F0B                     move.l     -[A7], A3
  6765. 0000465A  AA93                     syscall    DisposePalette
  6766. label0000465C:
  6767. 0000465C  0C2A 0004 016A           cmpi.b     [A2 + 0x16A], 0x4
  6768. 00004662  6618                     bne        +0x1A /* 0000467C */
  6769. 00004664  302D 135E                move.w     D0, [A5 + 0x135E]
  6770. 00004668  48C0                     ext.l      D0
  6771. 0000466A  0680 0000 0095           addi.l     D0, 0x95
  6772. 00004670  3F00                     move.w     -[A7], D0
  6773. 00004672  4EAD DB68                jsr        [A5 - 0x2498]
  6774. 00004676  53AD B1BE                subq.l     [A5 - 0x4E42], 1
  6775. 0000467A  544F                     addq.w     A7, 2
  6776. label0000467C:
  6777. 0000467C  554F                     subq.w     A7, 2
  6778. 0000467E  2F0C                     move.l     -[A7], A4
  6779. 00004680  206D 1356                movea.l    A0, [A5 + 0x1356]
  6780. 00004684  4E90                     jsr        [A0]
  6781. 00004686  301F                     move.w     D0, [A7]+
  6782. 00004688  6730                     beq        +0x32 /* 000046BA */
  6783. 0000468A  266C 0090                movea.l    A3, [A4 + 0x90]
  6784. 0000468E  200B                     move.l     D0, A3
  6785. 00004690  6728                     beq        +0x2A /* 000046BA */
  6786. 00004692  302B 006C                move.w     D0, [A3 + 0x6C]
  6787. 00004696  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  6788. 0000469A  661E                     bne        +0x20 /* 000046BA */
  6789. 0000469C  4A2B 016A                tst.b      [A3 + 0x16A]
  6790. 000046A0  6618                     bne        +0x1A /* 000046BA */
  6791. 000046A2  4878 0001                push.l     0x1
  6792. 000046A6  2F0B                     move.l     -[A7], A3
  6793. 000046A8  4EAD EA48                jsr        [A5 - 0x15B8]
  6794. 000046AC  584F                     addq.w     A7, 4
  6795. 000046AE  2F00                     move.l     -[A7], D0
  6796. 000046B0  2F0B                     move.l     -[A7], A3
  6797. 000046B2  4EBA BC76                jsr        [PC - 0x438A /* 0000032A */]
  6798. 000046B6  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6799. label000046BA:
  6800. 000046BA  2F0C                     move.l     -[A7], A4
  6801. 000046BC  4EAD DCC8                jsr        [A5 - 0x2338]
  6802. 000046C0  4EAD DD48                jsr        [A5 - 0x22B8]
  6803. 000046C4  2F0C                     move.l     -[A7], A4
  6804. 000046C6  206D 1346                movea.l    A0, [A5 + 0x1346]
  6805. 000046CA  4E90                     jsr        [A0]
  6806. 000046CC  4A85                     tst.l      D5
  6807. 000046CE  584F                     addq.w     A7, 4
  6808. 000046D0  6712                     beq        +0x14 /* 000046E4 */
  6809. 000046D2  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  6810. 000046D6  4EBA EA84                jsr        [PC - 0x157C /* 0000315C */]
  6811. 000046DA  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  6812. 000046DE  4EAD DAFC                jsr        [A5 - 0x2504]
  6813. 000046E2  584F                     addq.w     A7, 4
  6814. label000046E4:
  6815. 000046E4  4A86                     tst.l      D6
  6816. 000046E6  6706                     beq        +0x8 /* 000046EE */
  6817. 000046E8  3F2A 0168                move.w     -[A7], [A2 + 0x168]
  6818. 000046EC  A99A                     syscall    CloseResFile
  6819. label000046EE:
  6820. 000046EE  4AAD 1312                tst.l      [A5 + 0x1312 /* export_606 */]
  6821. 000046F2  6616                     bne        +0x18 /* 0000470A */
  6822. 000046F4  4878 016C                push.l     0x16C
  6823. 000046F8  4878 00FF                push.l     0xFF
  6824. 000046FC  2F0A                     move.l     -[A7], A2
  6825. 000046FE  4EAD D94C                jsr        [A5 - 0x26B4]
  6826. 00004702  204C                     movea.l    A0, A4
  6827. 00004704  A01F                     syscall    DisposPtr/DisposePtr
  6828. 00004706  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6829. label0000470A:
  6830. 0000470A  200E                     move.l     D0, A6
  6831. 0000470C  6718                     beq        +0x1A /* 00004726 */
  6832. 0000470E  302D 135E                move.w     D0, [A5 + 0x135E]
  6833. 00004712  48C0                     ext.l      D0
  6834. 00004714  0680 0000 0090           addi.l     D0, 0x90
  6835. 0000471A  3F00                     move.w     -[A7], D0
  6836. 0000471C  4EAD DB68                jsr        [A5 - 0x2498]
  6837. 00004720  42AD ADBE                clr.l      [A5 - 0x5242]
  6838. 00004724  544F                     addq.w     A7, 2
  6839. label00004726:
  6840. 00004726  4A97                     tst.l      [A7]
  6841. 00004728  6718                     beq        +0x1A /* 00004742 */
  6842. 0000472A  302D 135E                move.w     D0, [A5 + 0x135E]
  6843. 0000472E  48C0                     ext.l      D0
  6844. 00004730  0680 0000 0094           addi.l     D0, 0x94
  6845. 00004736  3F00                     move.w     -[A7], D0
  6846. 00004738  4EAD DB68                jsr        [A5 - 0x2498]
  6847. 0000473C  42AD B0D2                clr.l      [A5 - 0x4F2E]
  6848. 00004740  544F                     addq.w     A7, 2
  6849. label00004742:
  6850. 00004742  4AAD 8D1A                tst.l      [A5 - 0x72E6]
  6851. 00004746  6716                     beq        +0x18 /* 0000475E */
  6852. 00004748  4AAD 8D12                tst.l      [A5 - 0x72EE]
  6853. 0000474C  6710                     beq        +0x12 /* 0000475E */
  6854. 0000474E  594F                     subq.w     A7, 4
  6855. 00004750  A924                     syscall    FrontWindow
  6856. 00004752  205F                     movea.l    A0, [A7]+
  6857. 00004754  2008                     move.l     D0, A0
  6858. 00004756  6606                     bne        +0x8 /* 0000475E */
  6859. 00004758  4267                     clr.w      -[A7]
  6860. 0000475A  4EAD DF88                jsr        [A5 - 0x2078]
  6861. label0000475E:
  6862. 0000475E  2F0C                     move.l     -[A7], A4
  6863. 00004760  4EAD DF78                jsr        [A5 - 0x2088]
  6864. 00004764  584F                     addq.w     A7, 4
  6865. label00004766:
  6866. 00004766  4FEF 000C                lea.l      A7, [A7 + 0xC]
  6867. 0000476A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  6868. 0000476E  4E75                     rts
  6869. 00004770  48E7 0030                movem.l    -[A7], A2,A3
  6870. 00004774  594F                     subq.w     A7, 4
  6871. 00004776  A924                     syscall    FrontWindow
  6872. 00004778  205F                     movea.l    A0, [A7]+
  6873. 0000477A  2448                     movea.l    A2, A0
  6874. 0000477C  6020                     bra        +0x22 /* 0000479E */
  6875. label0000477E:
  6876. 0000477E  266A 0090                movea.l    A3, [A2 + 0x90]
  6877. 00004782  302A 006C                move.w     D0, [A2 + 0x6C]
  6878. 00004786  48C0                     ext.l      D0
  6879. 00004788  4A80                     tst.l      D0
  6880. 0000478A  6C08                     bge        +0xA /* 00004794 */
  6881. 0000478C  3F2A 006C                move.w     -[A7], [A2 + 0x6C]
  6882. 00004790  A9B7                     syscall    CloseDeskAcc
  6883. 00004792  6008                     bra        +0xA /* 0000479C */
  6884. label00004794:
  6885. 00004794  2F0A                     move.l     -[A7], A2
  6886. 00004796  4EBA FC4E                jsr        [PC - 0x3B2 /* 000043E6 */]
  6887. 0000479A  584F                     addq.w     A7, 4
  6888. label0000479C:
  6889. 0000479C  244B                     movea.l    A2, A3
  6890. label0000479E:
  6891. 0000479E  200A                     move.l     D0, A2
  6892. 000047A0  66DC                     bne        -0x22 /* 0000477E */
  6893. 000047A2  4AAD 1312                tst.l      [A5 + 0x1312 /* export_606 */]
  6894. 000047A6  6704                     beq        +0x6 /* 000047AC */
  6895. 000047A8  4EAD FC70                jsr        [A5 - 0x390]
  6896. label000047AC:
  6897. 000047AC  4CDF 0C00                movem.l    A2,A3, [A7]+
  6898. 000047B0  4E75                     rts
  6899. 000047B2  2F0A                     move.l     -[A7], A2
  6900. 000047B4  246F 0008                movea.l    A2, [A7 + 0x8]
  6901. 000047B8  B5ED ADC2                cmpa.l     A2, [A5 - 0x523E]
  6902. 000047BC  6608                     bne        +0xA /* 000047C6 */
  6903. 000047BE  3F7C 0001 000C           move.w     [A7 + 0xC], 0x1
  6904. 000047C4  6022                     bra        +0x24 /* 000047E8 */
  6905. label000047C6:
  6906. 000047C6  B5ED B0CE                cmpa.l     A2, [A5 - 0x4F32]
  6907. 000047CA  6608                     bne        +0xA /* 000047D4 */
  6908. 000047CC  3F7C 0001 000C           move.w     [A7 + 0xC], 0x1
  6909. 000047D2  6014                     bra        +0x16 /* 000047E8 */
  6910. label000047D4:
  6911. 000047D4  302A 0166                move.w     D0, [A2 + 0x166]
  6912. 000047D8  B06D B632                cmp.w      D0, [A5 - 0x49CE]
  6913. 000047DC  57C0                     seq        D0
  6914. 000047DE  4400                     neg.b      D0
  6915. 000047E0  4880                     ext.w      D0
  6916. 000047E2  48C0                     ext.l      D0
  6917. 000047E4  3F40 000C                move.w     [A7 + 0xC], D0
  6918. label000047E8:
  6919. 000047E8  245F                     movea.l    A2, [A7]+
  6920. 000047EA  2E9F                     move.l     [A7], [A7]+
  6921. 000047EC  4E75                     rts
  6922. fn000047EE:
  6923. 000047EE  48E7 1F20                movem.l    -[A7], D3,D4,D5,D6,D7,A2
  6924. 000047F2  4FEF FFF2                lea.l      A7, [A7 - 0xE]
  6925. 000047F6  246F 002A                movea.l    A2, [A7 + 0x2A]
  6926. 000047FA  2F0A                     move.l     -[A7], A2
  6927. 000047FC  4EAD DD40                jsr        [A5 - 0x22C0]
  6928. 00004800  2F6D 1584 000A           move.l     [A7 + 0xA], [A5 + 0x1584]
  6929. 00004806  2F6D 1588 000E           move.l     [A7 + 0xE], [A5 + 0x1588]
  6930. 0000480C  4EAD E0B0                jsr        [A5 - 0x1F50]
  6931. 00004810  D16F 000A                add.w      [A7 + 0xA], D0
  6932. 00004814  362F 000C                move.w     D3, [A7 + 0xC]
  6933. 00004818  48C3                     ext.l      D3
  6934. 0000481A  302F 0010                move.w     D0, [A7 + 0x10]
  6935. 0000481E  48C0                     ext.l      D0
  6936. 00004820  9083                     sub.l      D0, D3
  6937. 00004822  2C00                     move.l     D6, D0
  6938. 00004824  E08E                     lsr        D6, 8
  6939. 00004826  E08E                     lsr        D6, 8
  6940. 00004828  E08E                     lsr        D6, 8
  6941. 0000482A  EE8E                     lsr        D6, 7
  6942. 0000482C  DC80                     add.l      D6, D0
  6943. 0000482E  E286                     asr        D6, 1
  6944. 00004830  DC83                     add.l      D6, D3
  6945. 00004832  4AAF 0032                tst.l      [A7 + 0x32]
  6946. 00004836  584F                     addq.w     A7, 4
  6947. 00004838  6724                     beq        +0x26 /* 0000485E */
  6948. 0000483A  302F 0006                move.w     D0, [A7 + 0x6]
  6949. 0000483E  48C0                     ext.l      D0
  6950. 00004840  322F 0006                move.w     D1, [A7 + 0x6]
  6951. 00004844  48C1                     ext.l      D1
  6952. 00004846  342F 000A                move.w     D2, [A7 + 0xA]
  6953. 0000484A  48C2                     ext.l      D2
  6954. 0000484C  9481                     sub.l      D2, D1
  6955. 0000484E  2E80                     move.l     [A7], D0
  6956. 00004850  2002                     move.l     D0, D2
  6957. 00004852  7203                     moveq.l    D1, 0x03
  6958. 00004854  4EAD D904                jsr        [A5 - 0x26FC]
  6959. 00004858  D097                     add.l      D0, [A7]
  6960. 0000485A  3A00                     move.w     D5, D0
  6961. 0000485C  6024                     bra        +0x26 /* 00004882 */
  6962. label0000485E:
  6963. 0000485E  302F 0006                move.w     D0, [A7 + 0x6]
  6964. 00004862  48C0                     ext.l      D0
  6965. 00004864  3A2F 0006                move.w     D5, [A7 + 0x6]
  6966. 00004868  48C5                     ext.l      D5
  6967. 0000486A  342F 000A                move.w     D2, [A7 + 0xA]
  6968. 0000486E  48C2                     ext.l      D2
  6969. 00004870  9485                     sub.l      D2, D5
  6970. 00004872  2A02                     move.l     D5, D2
  6971. 00004874  E08D                     lsr        D5, 8
  6972. 00004876  E08D                     lsr        D5, 8
  6973. 00004878  E08D                     lsr        D5, 8
  6974. 0000487A  EE8D                     lsr        D5, 7
  6975. 0000487C  DA82                     add.l      D5, D2
  6976. 0000487E  E285                     asr        D5, 1
  6977. 00004880  DA80                     add.l      D5, D0
  6978. label00004882:
  6979. 00004882  302A 0012                move.w     D0, [A2 + 0x12]
  6980. 00004886  48C0                     ext.l      D0
  6981. 00004888  3E2A 0016                move.w     D7, [A2 + 0x16]
  6982. 0000488C  48C7                     ext.l      D7
  6983. 0000488E  9E80                     sub.l      D7, D0
  6984. 00004890  302A 0010                move.w     D0, [A2 + 0x10]
  6985. 00004894  48C0                     ext.l      D0
  6986. 00004896  2E80                     move.l     [A7], D0
  6987. 00004898  2F0A                     move.l     -[A7], A2
  6988. 0000489A  4EAD DD38                jsr        [A5 - 0x22C8]
  6989. 0000489E  3600                     move.w     D3, D0
  6990. 000048A0  48C0                     ext.l      D0
  6991. 000048A2  322A 0014                move.w     D1, [A2 + 0x14]
  6992. 000048A6  48C1                     ext.l      D1
  6993. 000048A8  D280                     add.l      D1, D0
  6994. 000048AA  92AF 0004                sub.l      D1, [A7 + 0x4]
  6995. 000048AE  3F41 0008                move.w     [A7 + 0x8], D1
  6996. 000048B2  3003                     move.w     D0, D3
  6997. 000048B4  48C0                     ext.l      D0
  6998. 000048B6  3805                     move.w     D4, D5
  6999. 000048B8  48C4                     ext.l      D4
  7000. 000048BA  3401                     move.w     D2, D1
  7001. 000048BC  48C2                     ext.l      D2
  7002. 000048BE  2F40 0004                move.l     [A7 + 0x4], D0
  7003. 000048C2  2002                     move.l     D0, D2
  7004. 000048C4  E088                     lsr        D0, 8
  7005. 000048C6  E088                     lsr        D0, 8
  7006. 000048C8  E088                     lsr        D0, 8
  7007. 000048CA  EE88                     lsr        D0, 7
  7008. 000048CC  D082                     add.l      D0, D2
  7009. 000048CE  E280                     asr        D0, 1
  7010. 000048D0  9880                     sub.l      D4, D0
  7011. 000048D2  D8AF 0004                add.l      D4, [A7 + 0x4]
  7012. 000048D6  3A06                     move.w     D5, D6
  7013. 000048D8  48C5                     ext.l      D5
  7014. 000048DA  3207                     move.w     D1, D7
  7015. 000048DC  48C1                     ext.l      D1
  7016. 000048DE  2401                     move.l     D2, D1
  7017. 000048E0  E08A                     lsr        D2, 8
  7018. 000048E2  E08A                     lsr        D2, 8
  7019. 000048E4  E08A                     lsr        D2, 8
  7020. 000048E6  EE8A                     lsr        D2, 7
  7021. 000048E8  D481                     add.l      D2, D1
  7022. 000048EA  E282                     asr        D2, 1
  7023. 000048EC  9A82                     sub.l      D5, D2
  7024. 000048EE  302F 000A                move.w     D0, [A7 + 0xA]
  7025. 000048F2  48C0                     ext.l      D0
  7026. 000048F4  3203                     move.w     D1, D3
  7027. 000048F6  48C1                     ext.l      D1
  7028. 000048F8  3404                     move.w     D2, D4
  7029. 000048FA  48C2                     ext.l      D2
  7030. 000048FC  9481                     sub.l      D2, D1
  7031. 000048FE  B480                     cmp.l      D2, D0
  7032. 00004900  584F                     addq.w     A7, 4
  7033. 00004902  6E0E                     bgt        +0x10 /* 00004912 */
  7034. 00004904  3003                     move.w     D0, D3
  7035. 00004906  48C0                     ext.l      D0
  7036. 00004908  382F 0006                move.w     D4, [A7 + 0x6]
  7037. 0000490C  48C4                     ext.l      D4
  7038. 0000490E  D880                     add.l      D4, D0
  7039. 00004910  5284                     addq.l     D4, 1
  7040. label00004912:
  7041. 00004912  2F0A                     move.l     -[A7], A2
  7042. 00004914  3F05                     move.w     -[A7], D5
  7043. 00004916  3F04                     move.w     -[A7], D4
  7044. 00004918  4227                     clr.b      -[A7]
  7045. 0000491A  A91B                     syscall    MoveWindow
  7046. 0000491C  4EAD DD48                jsr        [A5 - 0x22B8]
  7047. 00004920  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7048. 00004924  4CDF 04F8                movem.l    D3,D4,D5,D6,D7,A2, [A7]+
  7049. 00004928  4E75                     rts
  7050. 0000492A  48E7 0030                movem.l    -[A7], A2,A3
  7051. 0000492E  514F                     subq.w     A7, 8
  7052. 00004930  266F 0014                movea.l    A3, [A7 + 0x14]
  7053. 00004934  244B                     movea.l    A2, A3
  7054. 00004936  2F0B                     move.l     -[A7], A3
  7055. 00004938  4EAD DD40                jsr        [A5 - 0x22C0]
  7056. 0000493C  4AAA 0154                tst.l      [A2 + 0x154]
  7057. 00004940  584F                     addq.w     A7, 4
  7058. 00004942  676E                     beq        +0x70 /* 000049B2 */
  7059. 00004944  4AAA 013C                tst.l      [A2 + 0x13C]
  7060. 00004948  6768                     beq        +0x6A /* 000049B2 */
  7061. 0000494A  42AA 0154                clr.l      [A2 + 0x154]
  7062. 0000494E  42A7                     clr.l      -[A7]
  7063. 00004950  42A7                     clr.l      -[A7]
  7064. 00004952  42A7                     clr.l      -[A7]
  7065. 00004954  2F2A 013C                move.l     -[A7], [A2 + 0x13C]
  7066. 00004958  4EAD DBC2                jsr        [A5 - 0x243E]
  7067. 0000495C  4227                     clr.b      -[A7]
  7068. 0000495E  486F 0012                pea.l      [A7 + 0x12]
  7069. 00004962  486F 001A                pea.l      [A7 + 0x1A]
  7070. 00004966  2F0A                     move.l     -[A7], A2
  7071. 00004968  4EBA 0DC8                jsr        [PC + 0xDC8 /* 00005732 */]
  7072. 0000496C  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  7073. 00004970  6010                     bra        +0x12 /* 00004982 */
  7074. label00004972:
  7075. 00004972  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  7076. 00004976  206F 0008                movea.l    A0, [A7 + 0x8]
  7077. 0000497A  2068 003C                movea.l    A0, [A0 + 0x3C]
  7078. 0000497E  4E90                     jsr        [A0]
  7079. 00004980  584F                     addq.w     A7, 4
  7080. label00004982:
  7081. 00004982  1F3C 0001                move.b     -[A7], 0x1
  7082. 00004986  486F 0002                pea.l      [A7 + 0x2]
  7083. 0000498A  486F 000A                pea.l      [A7 + 0xA]
  7084. 0000498E  2F0A                     move.l     -[A7], A2
  7085. 00004990  4EBA 0DA0                jsr        [PC + 0xDA0 /* 00005732 */]
  7086. 00004994  4A80                     tst.l      D0
  7087. 00004996  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7088. 0000499A  66D6                     bne        -0x28 /* 00004972 */
  7089. 0000499C  1F3C 0002                move.b     -[A7], 0x2
  7090. 000049A0  486F 0002                pea.l      [A7 + 0x2]
  7091. 000049A4  486F 000A                pea.l      [A7 + 0xA]
  7092. 000049A8  2F0A                     move.l     -[A7], A2
  7093. 000049AA  4EBA 0D86                jsr        [PC + 0xD86 /* 00005732 */]
  7094. 000049AE  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7095. label000049B2:
  7096. 000049B2  4AAA 013C                tst.l      [A2 + 0x13C]
  7097. 000049B6  670C                     beq        +0xE /* 000049C4 */
  7098. 000049B8  2F0B                     move.l     -[A7], A3
  7099. 000049BA  2F2A 013C                move.l     -[A7], [A2 + 0x13C]
  7100. 000049BE  4EAD DBC8                jsr        [A5 - 0x2438]
  7101. 000049C2  504F                     addq.w     A7, 8
  7102. label000049C4:
  7103. 000049C4  4EAD DD48                jsr        [A5 - 0x22B8]
  7104. 000049C8  504F                     addq.w     A7, 8
  7105. 000049CA  4CDF 0C00                movem.l    A2,A3, [A7]+
  7106. 000049CE  4E75                     rts
  7107. 000049D0  48E7 0030                movem.l    -[A7], A2,A3
  7108. 000049D4  514F                     subq.w     A7, 8
  7109. 000049D6  266F 0014                movea.l    A3, [A7 + 0x14]
  7110. 000049DA  244B                     movea.l    A2, A3
  7111. 000049DC  2F0B                     move.l     -[A7], A3
  7112. 000049DE  4EAD DD40                jsr        [A5 - 0x22C0]
  7113. 000049E2  486B 0010                pea.l      [A3 + 0x10]
  7114. 000049E6  4EAD DD50                jsr        [A5 - 0x22B0]
  7115. 000049EA  0C2A 0006 016A           cmpi.b     [A2 + 0x16A], 0x6
  7116. 000049F0  504F                     addq.w     A7, 8
  7117. 000049F2  6718                     beq        +0x1A /* 00004A0C */
  7118. 000049F4  0C2A 0003 016A           cmpi.b     [A2 + 0x16A], 0x3
  7119. 000049FA  6710                     beq        +0x12 /* 00004A0C */
  7120. 000049FC  0C2A 0004 016A           cmpi.b     [A2 + 0x16A], 0x4
  7121. 00004A02  6708                     beq        +0xA /* 00004A0C */
  7122. 00004A04  2F0A                     move.l     -[A7], A2
  7123. 00004A06  4EBA 2966                jsr        [PC + 0x2966 /* 0000736E */]
  7124. 00004A0A  584F                     addq.w     A7, 4
  7125. label00004A0C:
  7126. 00004A0C  4227                     clr.b      -[A7]
  7127. 00004A0E  486F 0002                pea.l      [A7 + 0x2]
  7128. 00004A12  486F 000A                pea.l      [A7 + 0xA]
  7129. 00004A16  2F0A                     move.l     -[A7], A2
  7130. 00004A18  4EBA 0D18                jsr        [PC + 0xD18 /* 00005732 */]
  7131. 00004A1C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7132. 00004A20  6010                     bra        +0x12 /* 00004A32 */
  7133. label00004A22:
  7134. 00004A22  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  7135. 00004A26  206F 0008                movea.l    A0, [A7 + 0x8]
  7136. 00004A2A  2068 000C                movea.l    A0, [A0 + 0xC]
  7137. 00004A2E  4E90                     jsr        [A0]
  7138. 00004A30  584F                     addq.w     A7, 4
  7139. label00004A32:
  7140. 00004A32  1F3C 0001                move.b     -[A7], 0x1
  7141. 00004A36  486F 0002                pea.l      [A7 + 0x2]
  7142. 00004A3A  486F 000A                pea.l      [A7 + 0xA]
  7143. 00004A3E  2F0A                     move.l     -[A7], A2
  7144. 00004A40  4EBA 0CF0                jsr        [PC + 0xCF0 /* 00005732 */]
  7145. 00004A44  4A80                     tst.l      D0
  7146. 00004A46  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7147. 00004A4A  66D6                     bne        -0x28 /* 00004A22 */
  7148. 00004A4C  1F3C 0002                move.b     -[A7], 0x2
  7149. 00004A50  486F 0002                pea.l      [A7 + 0x2]
  7150. 00004A54  486F 000A                pea.l      [A7 + 0xA]
  7151. 00004A58  2F0A                     move.l     -[A7], A2
  7152. 00004A5A  4EBA 0CD6                jsr        [PC + 0xCD6 /* 00005732 */]
  7153. 00004A5E  4EAD DD58                jsr        [A5 - 0x22A8]
  7154. 00004A62  4EAD DD48                jsr        [A5 - 0x22B8]
  7155. 00004A66  4FEF 0016                lea.l      A7, [A7 + 0x16]
  7156. 00004A6A  4CDF 0C00                movem.l    A2,A3, [A7]+
  7157. 00004A6E  4E75                     rts
  7158. 00004A70  48E7 1030                movem.l    -[A7], D3,A2,A3
  7159. 00004A74  514F                     subq.w     A7, 8
  7160. 00004A76  266F 0018                movea.l    A3, [A7 + 0x18]
  7161. 00004A7A  262F 001C                move.l     D3, [A7 + 0x1C]
  7162. 00004A7E  244B                     movea.l    A2, A3
  7163. 00004A80  4A83                     tst.l      D3
  7164. 00004A82  6706                     beq        +0x8 /* 00004A8A */
  7165. 00004A84  4A2A 016A                tst.b      [A2 + 0x16A]
  7166. 00004A88  6676                     bne        +0x78 /* 00004B00 */
  7167. label00004A8A:
  7168. 00004A8A  2F0B                     move.l     -[A7], A3
  7169. 00004A8C  4EAD DD40                jsr        [A5 - 0x22C0]
  7170. 00004A90  486B 0010                pea.l      [A3 + 0x10]
  7171. 00004A94  4EAD DD50                jsr        [A5 - 0x22B0]
  7172. 00004A98  4227                     clr.b      -[A7]
  7173. 00004A9A  486F 000A                pea.l      [A7 + 0xA]
  7174. 00004A9E  486F 0012                pea.l      [A7 + 0x12]
  7175. 00004AA2  2F0A                     move.l     -[A7], A2
  7176. 00004AA4  4EBA 0C8C                jsr        [PC + 0xC8C /* 00005732 */]
  7177. 00004AA8  4FEF 0016                lea.l      A7, [A7 + 0x16]
  7178. 00004AAC  6014                     bra        +0x16 /* 00004AC2 */
  7179. label00004AAE:
  7180. 00004AAE  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  7181. 00004AB2  206F 0008                movea.l    A0, [A7 + 0x8]
  7182. 00004AB6  2068 0008                movea.l    A0, [A0 + 0x8]
  7183. 00004ABA  4E90                     jsr        [A0]
  7184. 00004ABC  4A83                     tst.l      D3
  7185. 00004ABE  584F                     addq.w     A7, 4
  7186. 00004AC0  661A                     bne        +0x1C /* 00004ADC */
  7187. label00004AC2:
  7188. 00004AC2  1F3C 0001                move.b     -[A7], 0x1
  7189. 00004AC6  486F 0002                pea.l      [A7 + 0x2]
  7190. 00004ACA  486F 000A                pea.l      [A7 + 0xA]
  7191. 00004ACE  2F0A                     move.l     -[A7], A2
  7192. 00004AD0  4EBA 0C60                jsr        [PC + 0xC60 /* 00005732 */]
  7193. 00004AD4  4A80                     tst.l      D0
  7194. 00004AD6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7195. 00004ADA  66D2                     bne        -0x2C /* 00004AAE */
  7196. label00004ADC:
  7197. 00004ADC  1F3C 0002                move.b     -[A7], 0x2
  7198. 00004AE0  486F 0002                pea.l      [A7 + 0x2]
  7199. 00004AE4  486F 000A                pea.l      [A7 + 0xA]
  7200. 00004AE8  2F0A                     move.l     -[A7], A2
  7201. 00004AEA  4EBA 0C46                jsr        [PC + 0xC46 /* 00005732 */]
  7202. 00004AEE  2F0B                     move.l     -[A7], A3
  7203. 00004AF0  4EBA 0016                jsr        [PC + 0x16 /* 00004B08 */]
  7204. 00004AF4  4EAD DD58                jsr        [A5 - 0x22A8]
  7205. 00004AF8  4EAD DD48                jsr        [A5 - 0x22B8]
  7206. 00004AFC  4FEF 0012                lea.l      A7, [A7 + 0x12]
  7207. label00004B00:
  7208. 00004B00  504F                     addq.w     A7, 8
  7209. 00004B02  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  7210. 00004B06  4E75                     rts
  7211. fn00004B08:
  7212. 00004B08  2F0A                     move.l     -[A7], A2
  7213. 00004B0A  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  7214. 00004B0E  246F 001C                movea.l    A2, [A7 + 0x1C]
  7215. 00004B12  2E8A                     move.l     [A7], A2
  7216. 00004B14  204A                     movea.l    A0, A2
  7217. 00004B16  4AA8 0158                tst.l      [A0 + 0x158]
  7218. 00004B1A  676E                     beq        +0x70 /* 00004B8A */
  7219. 00004B1C  2F0A                     move.l     -[A7], A2
  7220. 00004B1E  4EAD DD40                jsr        [A5 - 0x22C0]
  7221. 00004B22  302A 0016                move.w     D0, [A2 + 0x16]
  7222. 00004B26  48C0                     ext.l      D0
  7223. 00004B28  72F1                     moveq.l    D1, 0xFFFFFFF1
  7224. 00004B2A  D081                     add.l      D0, D1
  7225. 00004B2C  3F40 0012                move.w     [A7 + 0x12], D0
  7226. 00004B30  3F6A 0016 0016           move.w     [A7 + 0x16], [A2 + 0x16]
  7227. 00004B36  302A 0014                move.w     D0, [A2 + 0x14]
  7228. 00004B3A  48C0                     ext.l      D0
  7229. 00004B3C  D081                     add.l      D0, D1
  7230. 00004B3E  3F40 0010                move.w     [A7 + 0x10], D0
  7231. 00004B42  3F6A 0014 0014           move.w     [A7 + 0x14], [A2 + 0x14]
  7232. 00004B48  486F 0010                pea.l      [A7 + 0x10]
  7233. 00004B4C  4EAD DD50                jsr        [A5 - 0x22B0]
  7234. 00004B50  2F0A                     move.l     -[A7], A2
  7235. 00004B52  A904                     syscall    DrawGrowIcon
  7236. 00004B54  4EAD DD58                jsr        [A5 - 0x22A8]
  7237. 00004B58  302A 0016                move.w     D0, [A2 + 0x16]
  7238. 00004B5C  48C0                     ext.l      D0
  7239. 00004B5E  72F1                     moveq.l    D1, 0xFFFFFFF1
  7240. 00004B60  D081                     add.l      D0, D1
  7241. 00004B62  3F40 000E                move.w     [A7 + 0xE], D0
  7242. 00004B66  3F6A 0016 0012           move.w     [A7 + 0x12], [A2 + 0x16]
  7243. 00004B6C  302A 0014                move.w     D0, [A2 + 0x14]
  7244. 00004B70  48C0                     ext.l      D0
  7245. 00004B72  D081                     add.l      D0, D1
  7246. 00004B74  3F40 000C                move.w     [A7 + 0xC], D0
  7247. 00004B78  3F6A 0014 0010           move.w     [A7 + 0x10], [A2 + 0x14]
  7248. 00004B7E  486F 000C                pea.l      [A7 + 0xC]
  7249. 00004B82  A92A                     syscall    ValidRect
  7250. 00004B84  4EAD DD48                jsr        [A5 - 0x22B8]
  7251. 00004B88  504F                     addq.w     A7, 8
  7252. label00004B8A:
  7253. 00004B8A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7254. 00004B8E  245F                     movea.l    A2, [A7]+
  7255. 00004B90  4E75                     rts
  7256. 00004B92  48E7 0038                movem.l    -[A7], A2,A3,A4
  7257. 00004B96  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  7258. 00004B9A  286F 001C                movea.l    A4, [A7 + 0x1C]
  7259. 00004B9E  266F 0020                movea.l    A3, [A7 + 0x20]
  7260. 00004BA2  2F6B 000A 0004           move.l     [A7 + 0x4], [A3 + 0xA]
  7261. 00004BA8  244C                     movea.l    A2, A4
  7262. 00004BAA  2F0C                     move.l     -[A7], A4
  7263. 00004BAC  4EAD DD40                jsr        [A5 - 0x22C0]
  7264. 00004BB0  486F 0008                pea.l      [A7 + 0x8]
  7265. 00004BB4  A871                     syscall    GlobalToLocal
  7266. 00004BB6  4227                     clr.b      -[A7]
  7267. 00004BB8  486F 0006                pea.l      [A7 + 0x6]
  7268. 00004BBC  486F 0012                pea.l      [A7 + 0x12]
  7269. 00004BC0  2F0A                     move.l     -[A7], A2
  7270. 00004BC2  4EBA 0B6E                jsr        [PC + 0xB6E /* 00005732 */]
  7271. 00004BC6  4FEF 0012                lea.l      A7, [A7 + 0x12]
  7272. 00004BCA  6028                     bra        +0x2A /* 00004BF4 */
  7273. label00004BCC:
  7274. 00004BCC  554F                     subq.w     A7, 2
  7275. 00004BCE  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  7276. 00004BD2  206F 000E                movea.l    A0, [A7 + 0xE]
  7277. 00004BD6  4868 0040                pea.l      [A0 + 0x40]
  7278. 00004BDA  A8AD                     syscall    PtInRect
  7279. 00004BDC  101F                     move.b     D0, [A7]+
  7280. 00004BDE  6714                     beq        +0x16 /* 00004BF4 */
  7281. 00004BE0  2F0B                     move.l     -[A7], A3
  7282. 00004BE2  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  7283. 00004BE6  206F 0010                movea.l    A0, [A7 + 0x10]
  7284. 00004BEA  2068 0010                movea.l    A0, [A0 + 0x10]
  7285. 00004BEE  4E90                     jsr        [A0]
  7286. 00004BF0  504F                     addq.w     A7, 8
  7287. 00004BF2  601A                     bra        +0x1C /* 00004C0E */
  7288. label00004BF4:
  7289. 00004BF4  1F3C 0001                move.b     -[A7], 0x1
  7290. 00004BF8  486F 0002                pea.l      [A7 + 0x2]
  7291. 00004BFC  486F 000E                pea.l      [A7 + 0xE]
  7292. 00004C00  2F0A                     move.l     -[A7], A2
  7293. 00004C02  4EBA 0B2E                jsr        [PC + 0xB2E /* 00005732 */]
  7294. 00004C06  4A80                     tst.l      D0
  7295. 00004C08  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7296. 00004C0C  66BE                     bne        -0x40 /* 00004BCC */
  7297. label00004C0E:
  7298. 00004C0E  1F3C 0002                move.b     -[A7], 0x2
  7299. 00004C12  486F 0002                pea.l      [A7 + 0x2]
  7300. 00004C16  486F 000E                pea.l      [A7 + 0xE]
  7301. 00004C1A  2F0A                     move.l     -[A7], A2
  7302. 00004C1C  4EBA 0B14                jsr        [PC + 0xB14 /* 00005732 */]
  7303. 00004C20  4EAD E968                jsr        [A5 - 0x1698]
  7304. 00004C24  4EAD DD48                jsr        [A5 - 0x22B8]
  7305. 00004C28  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  7306. 00004C2C  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  7307. 00004C30  4E75                     rts
  7308. 00004C32  48E7 1030                movem.l    -[A7], D3,A2,A3
  7309. 00004C36  514F                     subq.w     A7, 8
  7310. 00004C38  266F 0018                movea.l    A3, [A7 + 0x18]
  7311. 00004C3C  262F 001C                move.l     D3, [A7 + 0x1C]
  7312. 00004C40  244B                     movea.l    A2, A3
  7313. 00004C42  2F0B                     move.l     -[A7], A3
  7314. 00004C44  4EAD DD40                jsr        [A5 - 0x22C0]
  7315. 00004C48  4227                     clr.b      -[A7]
  7316. 00004C4A  486F 0006                pea.l      [A7 + 0x6]
  7317. 00004C4E  486F 000E                pea.l      [A7 + 0xE]
  7318. 00004C52  2F0A                     move.l     -[A7], A2
  7319. 00004C54  4EBA 0ADC                jsr        [PC + 0xADC /* 00005732 */]
  7320. 00004C58  4FEF 0012                lea.l      A7, [A7 + 0x12]
  7321. 00004C5C  6012                     bra        +0x14 /* 00004C70 */
  7322. label00004C5E:
  7323. 00004C5E  2F03                     move.l     -[A7], D3
  7324. 00004C60  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  7325. 00004C64  206F 000C                movea.l    A0, [A7 + 0xC]
  7326. 00004C68  2068 0018                movea.l    A0, [A0 + 0x18]
  7327. 00004C6C  4E90                     jsr        [A0]
  7328. 00004C6E  504F                     addq.w     A7, 8
  7329. label00004C70:
  7330. 00004C70  1F3C 0001                move.b     -[A7], 0x1
  7331. 00004C74  486F 0002                pea.l      [A7 + 0x2]
  7332. 00004C78  486F 000A                pea.l      [A7 + 0xA]
  7333. 00004C7C  2F0A                     move.l     -[A7], A2
  7334. 00004C7E  4EBA 0AB2                jsr        [PC + 0xAB2 /* 00005732 */]
  7335. 00004C82  4A80                     tst.l      D0
  7336. 00004C84  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7337. 00004C88  66D4                     bne        -0x2A /* 00004C5E */
  7338. 00004C8A  1F3C 0002                move.b     -[A7], 0x2
  7339. 00004C8E  486F 0002                pea.l      [A7 + 0x2]
  7340. 00004C92  486F 000A                pea.l      [A7 + 0xA]
  7341. 00004C96  2F0A                     move.l     -[A7], A2
  7342. 00004C98  4EBA 0A98                jsr        [PC + 0xA98 /* 00005732 */]
  7343. 00004C9C  4EAD E968                jsr        [A5 - 0x1698]
  7344. 00004CA0  4EAD DD48                jsr        [A5 - 0x22B8]
  7345. 00004CA4  4FEF 0016                lea.l      A7, [A7 + 0x16]
  7346. 00004CA8  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  7347. 00004CAC  4E75                     rts
  7348. 00004CAE  48E7 1030                movem.l    -[A7], D3,A2,A3
  7349. 00004CB2  514F                     subq.w     A7, 8
  7350. 00004CB4  266F 0018                movea.l    A3, [A7 + 0x18]
  7351. 00004CB8  262F 001C                move.l     D3, [A7 + 0x1C]
  7352. 00004CBC  244B                     movea.l    A2, A3
  7353. 00004CBE  2F0B                     move.l     -[A7], A3
  7354. 00004CC0  4EAD DD40                jsr        [A5 - 0x22C0]
  7355. 00004CC4  4227                     clr.b      -[A7]
  7356. 00004CC6  486F 0006                pea.l      [A7 + 0x6]
  7357. 00004CCA  486F 000E                pea.l      [A7 + 0xE]
  7358. 00004CCE  2F0A                     move.l     -[A7], A2
  7359. 00004CD0  4EBA 0A60                jsr        [PC + 0xA60 /* 00005732 */]
  7360. 00004CD4  4FEF 0012                lea.l      A7, [A7 + 0x12]
  7361. 00004CD8  6012                     bra        +0x14 /* 00004CEC */
  7362. label00004CDA:
  7363. 00004CDA  2F03                     move.l     -[A7], D3
  7364. 00004CDC  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  7365. 00004CE0  206F 000C                movea.l    A0, [A7 + 0xC]
  7366. 00004CE4  2068 0038                movea.l    A0, [A0 + 0x38]
  7367. 00004CE8  4E90                     jsr        [A0]
  7368. 00004CEA  504F                     addq.w     A7, 8
  7369. label00004CEC:
  7370. 00004CEC  1F3C 0001                move.b     -[A7], 0x1
  7371. 00004CF0  486F 0002                pea.l      [A7 + 0x2]
  7372. 00004CF4  486F 000A                pea.l      [A7 + 0xA]
  7373. 00004CF8  2F0A                     move.l     -[A7], A2
  7374. 00004CFA  4EBA 0A36                jsr        [PC + 0xA36 /* 00005732 */]
  7375. 00004CFE  4A80                     tst.l      D0
  7376. 00004D00  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7377. 00004D04  66D4                     bne        -0x2A /* 00004CDA */
  7378. 00004D06  1F3C 0002                move.b     -[A7], 0x2
  7379. 00004D0A  486F 0002                pea.l      [A7 + 0x2]
  7380. 00004D0E  486F 000A                pea.l      [A7 + 0xA]
  7381. 00004D12  2F0A                     move.l     -[A7], A2
  7382. 00004D14  4EBA 0A1C                jsr        [PC + 0xA1C /* 00005732 */]
  7383. 00004D18  4EAD DD48                jsr        [A5 - 0x22B8]
  7384. 00004D1C  4FEF 0016                lea.l      A7, [A7 + 0x16]
  7385. 00004D20  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  7386. 00004D24  4E75                     rts
  7387. 00004D26  48E7 1030                movem.l    -[A7], D3,A2,A3
  7388. 00004D2A  514F                     subq.w     A7, 8
  7389. 00004D2C  266F 0018                movea.l    A3, [A7 + 0x18]
  7390. 00004D30  262F 001C                move.l     D3, [A7 + 0x1C]
  7391. 00004D34  244B                     movea.l    A2, A3
  7392. 00004D36  4A83                     tst.l      D3
  7393. 00004D38  6740                     beq        +0x42 /* 00004D7A */
  7394. 00004D3A  2F0B                     move.l     -[A7], A3
  7395. 00004D3C  4EAD DFA8                jsr        [A5 - 0x2058]
  7396. 00004D40  2F0B                     move.l     -[A7], A3
  7397. 00004D42  4EAD DBCE                jsr        [A5 - 0x2432]
  7398. 00004D46  4A2A 016A                tst.b      [A2 + 0x16A]
  7399. 00004D4A  504F                     addq.w     A7, 8
  7400. 00004D4C  6638                     bne        +0x3A /* 00004D86 */
  7401. 00004D4E  302D B632                move.w     D0, [A5 - 0x49CE]
  7402. 00004D52  B06A 0166                cmp.w      D0, [A2 + 0x166]
  7403. 00004D56  672E                     beq        +0x30 /* 00004D86 */
  7404. 00004D58  42A7                     clr.l      -[A7]
  7405. 00004D5A  3F2D B632                move.w     -[A7], [A5 - 0x49CE]
  7406. 00004D5E  4EBA 21AA                jsr        [PC + 0x21AA /* 00006F0A */]
  7407. 00004D62  3B6A 0166 B632           move.w     [A5 - 0x49CE], [A2 + 0x166]
  7408. 00004D68  4878 0001                push.l     0x1
  7409. 00004D6C  3F2D B632                move.w     -[A7], [A5 - 0x49CE]
  7410. 00004D70  4EBA 2198                jsr        [PC + 0x2198 /* 00006F0A */]
  7411. 00004D74  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7412. 00004D78  600C                     bra        +0xE /* 00004D86 */
  7413. label00004D7A:
  7414. 00004D7A  4878 0001                push.l     0x1
  7415. 00004D7E  2F0B                     move.l     -[A7], A3
  7416. 00004D80  4EAD E480                jsr        [A5 - 0x1B80]
  7417. 00004D84  504F                     addq.w     A7, 8
  7418. label00004D86:
  7419. 00004D86  2F0B                     move.l     -[A7], A3
  7420. 00004D88  4EAD DD40                jsr        [A5 - 0x22C0]
  7421. 00004D8C  42A7                     clr.l      -[A7]
  7422. 00004D8E  4EAD DD50                jsr        [A5 - 0x22B0]
  7423. 00004D92  486B 0010                pea.l      [A3 + 0x10]
  7424. 00004D96  2F0B                     move.l     -[A7], A3
  7425. 00004D98  4EAD DDA8                jsr        [A5 - 0x2258]
  7426. 00004D9C  4227                     clr.b      -[A7]
  7427. 00004D9E  486F 0012                pea.l      [A7 + 0x12]
  7428. 00004DA2  486F 001A                pea.l      [A7 + 0x1A]
  7429. 00004DA6  2F0A                     move.l     -[A7], A2
  7430. 00004DA8  4EBA 0988                jsr        [PC + 0x988 /* 00005732 */]
  7431. 00004DAC  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  7432. 00004DB0  6012                     bra        +0x14 /* 00004DC4 */
  7433. label00004DB2:
  7434. 00004DB2  2F03                     move.l     -[A7], D3
  7435. 00004DB4  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  7436. 00004DB8  206F 000C                movea.l    A0, [A7 + 0xC]
  7437. 00004DBC  2068 0014                movea.l    A0, [A0 + 0x14]
  7438. 00004DC0  4E90                     jsr        [A0]
  7439. 00004DC2  504F                     addq.w     A7, 8
  7440. label00004DC4:
  7441. 00004DC4  1F3C 0001                move.b     -[A7], 0x1
  7442. 00004DC8  486F 0002                pea.l      [A7 + 0x2]
  7443. 00004DCC  486F 000A                pea.l      [A7 + 0xA]
  7444. 00004DD0  2F0A                     move.l     -[A7], A2
  7445. 00004DD2  4EBA 095E                jsr        [PC + 0x95E /* 00005732 */]
  7446. 00004DD6  4A80                     tst.l      D0
  7447. 00004DD8  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7448. 00004DDC  66D4                     bne        -0x2A /* 00004DB2 */
  7449. 00004DDE  1F3C 0002                move.b     -[A7], 0x2
  7450. 00004DE2  486F 0002                pea.l      [A7 + 0x2]
  7451. 00004DE6  486F 000A                pea.l      [A7 + 0xA]
  7452. 00004DEA  2F0A                     move.l     -[A7], A2
  7453. 00004DEC  4EBA 0944                jsr        [PC + 0x944 /* 00005732 */]
  7454. 00004DF0  4EAD DD58                jsr        [A5 - 0x22A8]
  7455. 00004DF4  4A83                     tst.l      D3
  7456. 00004DF6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7457. 00004DFA  6742                     beq        +0x44 /* 00004E3E */
  7458. 00004DFC  554F                     subq.w     A7, 2
  7459. 00004DFE  2F0B                     move.l     -[A7], A3
  7460. 00004E00  206D 1356                movea.l    A0, [A5 + 0x1356]
  7461. 00004E04  4E90                     jsr        [A0]
  7462. 00004E06  301F                     move.w     D0, [A7]+
  7463. 00004E08  6734                     beq        +0x36 /* 00004E3E */
  7464. 00004E0A  246B 0090                movea.l    A2, [A3 + 0x90]
  7465. 00004E0E  200A                     move.l     D0, A2
  7466. 00004E10  672C                     beq        +0x2E /* 00004E3E */
  7467. 00004E12  302A 006C                move.w     D0, [A2 + 0x6C]
  7468. 00004E16  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  7469. 00004E1A  6622                     bne        +0x24 /* 00004E3E */
  7470. 00004E1C  4A2A 016A                tst.b      [A2 + 0x16A]
  7471. 00004E20  661C                     bne        +0x1E /* 00004E3E */
  7472. 00004E22  42A7                     clr.l      -[A7]
  7473. 00004E24  2F0A                     move.l     -[A7], A2
  7474. 00004E26  4EAD EA48                jsr        [A5 - 0x15B8]
  7475. 00004E2A  584F                     addq.w     A7, 4
  7476. 00004E2C  2F00                     move.l     -[A7], D0
  7477. 00004E2E  2F0A                     move.l     -[A7], A2
  7478. 00004E30  4EBA B4F8                jsr        [PC - 0x4B08 /* 0000032A */]
  7479. 00004E34  2F0A                     move.l     -[A7], A2
  7480. 00004E36  4EAD EA30                jsr        [A5 - 0x15D0]
  7481. 00004E3A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  7482. label00004E3E:
  7483. 00004E3E  4EAD DD48                jsr        [A5 - 0x22B8]
  7484. 00004E42  504F                     addq.w     A7, 8
  7485. 00004E44  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  7486. 00004E48  4E75                     rts
  7487. 00004E4A  48E7 0030                movem.l    -[A7], A2,A3
  7488. 00004E4E  514F                     subq.w     A7, 8
  7489. 00004E50  266F 0014                movea.l    A3, [A7 + 0x14]
  7490. 00004E54  244B                     movea.l    A2, A3
  7491. 00004E56  4A2B 006F                tst.b      [A3 + 0x6F]
  7492. 00004E5A  6760                     beq        +0x62 /* 00004EBC */
  7493. 00004E5C  2F0B                     move.l     -[A7], A3
  7494. 00004E5E  4EAD DD40                jsr        [A5 - 0x22C0]
  7495. 00004E62  4227                     clr.b      -[A7]
  7496. 00004E64  486F 0006                pea.l      [A7 + 0x6]
  7497. 00004E68  486F 000E                pea.l      [A7 + 0xE]
  7498. 00004E6C  2F0A                     move.l     -[A7], A2
  7499. 00004E6E  4EBA 08C2                jsr        [PC + 0x8C2 /* 00005732 */]
  7500. 00004E72  4FEF 0012                lea.l      A7, [A7 + 0x12]
  7501. 00004E76  6010                     bra        +0x12 /* 00004E88 */
  7502. label00004E78:
  7503. 00004E78  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  7504. 00004E7C  206F 0008                movea.l    A0, [A7 + 0x8]
  7505. 00004E80  2068 001C                movea.l    A0, [A0 + 0x1C]
  7506. 00004E84  4E90                     jsr        [A0]
  7507. 00004E86  584F                     addq.w     A7, 4
  7508. label00004E88:
  7509. 00004E88  1F3C 0001                move.b     -[A7], 0x1
  7510. 00004E8C  486F 0002                pea.l      [A7 + 0x2]
  7511. 00004E90  486F 000A                pea.l      [A7 + 0xA]
  7512. 00004E94  2F0A                     move.l     -[A7], A2
  7513. 00004E96  4EBA 089A                jsr        [PC + 0x89A /* 00005732 */]
  7514. 00004E9A  4A80                     tst.l      D0
  7515. 00004E9C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7516. 00004EA0  66D6                     bne        -0x28 /* 00004E78 */
  7517. 00004EA2  1F3C 0002                move.b     -[A7], 0x2
  7518. 00004EA6  486F 0002                pea.l      [A7 + 0x2]
  7519. 00004EAA  486F 000A                pea.l      [A7 + 0xA]
  7520. 00004EAE  2F0A                     move.l     -[A7], A2
  7521. 00004EB0  4EBA 0880                jsr        [PC + 0x880 /* 00005732 */]
  7522. 00004EB4  4EAD DD48                jsr        [A5 - 0x22B8]
  7523. 00004EB8  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7524. label00004EBC:
  7525. 00004EBC  4EAD E968                jsr        [A5 - 0x1698]
  7526. 00004EC0  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  7527. 00004EC4  4EBA EA02                jsr        [PC - 0x15FE /* 000038C8 */]
  7528. 00004EC8  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7529. 00004ECC  4CDF 0C00                movem.l    A2,A3, [A7]+
  7530. 00004ED0  4E75                     rts
  7531. 00004ED2  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  7532. 00004ED6  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  7533. 00004EDA  266F 002C                movea.l    A3, [A7 + 0x2C]
  7534. 00004EDE  244B                     movea.l    A2, A3
  7535. 00004EE0  0C2A 0003 016A           cmpi.b     [A2 + 0x16A], 0x3
  7536. 00004EE6  671A                     beq        +0x1C /* 00004F02 */
  7537. 00004EE8  0C2A 0004 016A           cmpi.b     [A2 + 0x16A], 0x4
  7538. 00004EEE  6712                     beq        +0x14 /* 00004F02 */
  7539. 00004EF0  0C2A 0006 016A           cmpi.b     [A2 + 0x16A], 0x6
  7540. 00004EF6  670A                     beq        +0xC /* 00004F02 */
  7541. 00004EF8  42A7                     clr.l      -[A7]
  7542. 00004EFA  2F0B                     move.l     -[A7], A3
  7543. 00004EFC  4EAD EA70                jsr        [A5 - 0x1590]
  7544. 00004F00  504F                     addq.w     A7, 8
  7545. label00004F02:
  7546. 00004F02  486F 000C                pea.l      [A7 + 0xC]
  7547. 00004F06  2F0A                     move.l     -[A7], A2
  7548. 00004F08  4EBA 1BFA                jsr        [PC + 0x1BFA /* 00006B04 */]
  7549. 00004F0C  302B 0012                move.w     D0, [A3 + 0x12]
  7550. 00004F10  48C0                     ext.l      D0
  7551. 00004F12  322B 0016                move.w     D1, [A3 + 0x16]
  7552. 00004F16  48C1                     ext.l      D1
  7553. 00004F18  9280                     sub.l      D1, D0
  7554. 00004F1A  302F 001A                move.w     D0, [A7 + 0x1A]
  7555. 00004F1E  48C0                     ext.l      D0
  7556. 00004F20  B081                     cmp.l      D0, D1
  7557. 00004F22  504F                     addq.w     A7, 8
  7558. 00004F24  6604                     bne        +0x6 /* 00004F2A */
  7559. 00004F26  526F 0012                addq.w     [A7 + 0x12], 1
  7560. label00004F2A:
  7561. 00004F2A  302B 0010                move.w     D0, [A3 + 0x10]
  7562. 00004F2E  48C0                     ext.l      D0
  7563. 00004F30  322B 0014                move.w     D1, [A3 + 0x14]
  7564. 00004F34  48C1                     ext.l      D1
  7565. 00004F36  9280                     sub.l      D1, D0
  7566. 00004F38  302F 0010                move.w     D0, [A7 + 0x10]
  7567. 00004F3C  48C0                     ext.l      D0
  7568. 00004F3E  B081                     cmp.l      D0, D1
  7569. 00004F40  6604                     bne        +0x6 /* 00004F46 */
  7570. 00004F42  526F 0010                addq.w     [A7 + 0x10], 1
  7571. label00004F46:
  7572. 00004F46  362F 000E                move.w     D3, [A7 + 0xE]
  7573. 00004F4A  48C3                     ext.l      D3
  7574. 00004F4C  302F 0012                move.w     D0, [A7 + 0x12]
  7575. 00004F50  48C0                     ext.l      D0
  7576. 00004F52  B083                     cmp.l      D0, D3
  7577. 00004F54  6608                     bne        +0xA /* 00004F5E */
  7578. 00004F56  2003                     move.l     D0, D3
  7579. 00004F58  5280                     addq.l     D0, 1
  7580. 00004F5A  3F40 0012                move.w     [A7 + 0x12], D0
  7581. label00004F5E:
  7582. 00004F5E  302F 0010                move.w     D0, [A7 + 0x10]
  7583. 00004F62  B06F 000C                cmp.w      D0, [A7 + 0xC]
  7584. 00004F66  660C                     bne        +0xE /* 00004F74 */
  7585. 00004F68  302F 000C                move.w     D0, [A7 + 0xC]
  7586. 00004F6C  48C0                     ext.l      D0
  7587. 00004F6E  5280                     addq.l     D0, 1
  7588. 00004F70  3F40 0010                move.w     [A7 + 0x10], D0
  7589. label00004F74:
  7590. 00004F74  594F                     subq.w     A7, 4
  7591. 00004F76  2F0B                     move.l     -[A7], A3
  7592. 00004F78  2F2F 0038                move.l     -[A7], [A7 + 0x38]
  7593. 00004F7C  486F 0018                pea.l      [A7 + 0x18]
  7594. 00004F80  A92B                     syscall    GrowWindow
  7595. 00004F82  201F                     move.l     D0, [A7]+
  7596. 00004F84  2600                     move.l     D3, D0
  7597. 00004F86  6700 00EC                beq        +0xEE /* 00005074 */
  7598. 00004F8A  3803                     move.w     D4, D3
  7599. 00004F8C  2F0B                     move.l     -[A7], A3
  7600. 00004F8E  4EAD DD40                jsr        [A5 - 0x22C0]
  7601. 00004F92  302B 0016                move.w     D0, [A3 + 0x16]
  7602. 00004F96  48C0                     ext.l      D0
  7603. 00004F98  72F1                     moveq.l    D1, 0xFFFFFFF1
  7604. 00004F9A  D081                     add.l      D0, D1
  7605. 00004F9C  3F40 0012                move.w     [A7 + 0x12], D0
  7606. 00004FA0  3F6B 0016 0016           move.w     [A7 + 0x16], [A3 + 0x16]
  7607. 00004FA6  302B 0014                move.w     D0, [A3 + 0x14]
  7608. 00004FAA  48C0                     ext.l      D0
  7609. 00004FAC  D081                     add.l      D0, D1
  7610. 00004FAE  3F40 0010                move.w     [A7 + 0x10], D0
  7611. 00004FB2  3F6B 0014 0014           move.w     [A7 + 0x14], [A3 + 0x14]
  7612. 00004FB8  4227                     clr.b      -[A7]
  7613. 00004FBA  486F 000E                pea.l      [A7 + 0xE]
  7614. 00004FBE  486F 001E                pea.l      [A7 + 0x1E]
  7615. 00004FC2  2F0A                     move.l     -[A7], A2
  7616. 00004FC4  4EBA 076C                jsr        [PC + 0x76C /* 00005732 */]
  7617. 00004FC8  4FEF 0012                lea.l      A7, [A7 + 0x12]
  7618. 00004FCC  6014                     bra        +0x16 /* 00004FE2 */
  7619. label00004FCE:
  7620. 00004FCE  1F3C 0001                move.b     -[A7], 0x1
  7621. 00004FD2  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  7622. 00004FD6  206F 001A                movea.l    A0, [A7 + 0x1A]
  7623. 00004FDA  2068 0024                movea.l    A0, [A0 + 0x24]
  7624. 00004FDE  4E90                     jsr        [A0]
  7625. 00004FE0  5C4F                     addq.w     A7, 6
  7626. label00004FE2:
  7627. 00004FE2  1F3C 0001                move.b     -[A7], 0x1
  7628. 00004FE6  486F 000A                pea.l      [A7 + 0xA]
  7629. 00004FEA  486F 001A                pea.l      [A7 + 0x1A]
  7630. 00004FEE  2F0A                     move.l     -[A7], A2
  7631. 00004FF0  4EBA 0740                jsr        [PC + 0x740 /* 00005732 */]
  7632. 00004FF4  4A80                     tst.l      D0
  7633. 00004FF6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7634. 00004FFA  66D2                     bne        -0x2C /* 00004FCE */
  7635. 00004FFC  1F3C 0002                move.b     -[A7], 0x2
  7636. 00005000  486F 000A                pea.l      [A7 + 0xA]
  7637. 00005004  486F 001A                pea.l      [A7 + 0x1A]
  7638. 00005008  2F0A                     move.l     -[A7], A2
  7639. 0000500A  4EBA 0726                jsr        [PC + 0x726 /* 00005732 */]
  7640. 0000500E  2F0B                     move.l     -[A7], A3
  7641. 00005010  3F04                     move.w     -[A7], D4
  7642. 00005012  2003                     move.l     D0, D3
  7643. 00005014  7210                     moveq.l    D1, 0x10
  7644. 00005016  E2A0                     asr        D0, D1
  7645. 00005018  3F00                     move.w     -[A7], D0
  7646. 0000501A  1F3C 0001                move.b     -[A7], 0x1
  7647. 0000501E  A91D                     syscall    SizeWindow
  7648. 00005020  1F3C 0001                move.b     -[A7], 0x1
  7649. 00005024  2F0A                     move.l     -[A7], A2
  7650. 00005026  4EBA 1DA4                jsr        [PC + 0x1DA4 /* 00006DCC */]
  7651. 0000502A  4AAA 0158                tst.l      [A2 + 0x158]
  7652. 0000502E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  7653. 00005032  6738                     beq        +0x3A /* 0000506C */
  7654. 00005034  302B 0016                move.w     D0, [A3 + 0x16]
  7655. 00005038  48C0                     ext.l      D0
  7656. 0000503A  72F1                     moveq.l    D1, 0xFFFFFFF1
  7657. 0000503C  D081                     add.l      D0, D1
  7658. 0000503E  3F40 0002                move.w     [A7 + 0x2], D0
  7659. 00005042  3F6B 0016 0006           move.w     [A7 + 0x6], [A3 + 0x16]
  7660. 00005048  302B 0014                move.w     D0, [A3 + 0x14]
  7661. 0000504C  48C0                     ext.l      D0
  7662. 0000504E  D081                     add.l      D0, D1
  7663. 00005050  3E80                     move.w     [A7], D0
  7664. 00005052  3F6B 0014 0004           move.w     [A7 + 0x4], [A3 + 0x14]
  7665. 00005058  486F 000C                pea.l      [A7 + 0xC]
  7666. 0000505C  A928                     syscall    InvalRect
  7667. 0000505E  486F 000C                pea.l      [A7 + 0xC]
  7668. 00005062  A8A3                     syscall    EraseRect
  7669. 00005064  4857                     pea.l      [A7]
  7670. 00005066  A928                     syscall    InvalRect
  7671. 00005068  4857                     pea.l      [A7]
  7672. 0000506A  A8A3                     syscall    EraseRect
  7673. label0000506C:
  7674. 0000506C  4EAD E968                jsr        [A5 - 0x1698]
  7675. 00005070  4EAD DD48                jsr        [A5 - 0x22B8]
  7676. label00005074:
  7677. 00005074  4FEF 0018                lea.l      A7, [A7 + 0x18]
  7678. 00005078  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  7679. 0000507C  4E75                     rts
  7680. 0000507E  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  7681. 00005082  4FEF FFEC                lea.l      A7, [A7 - 0x14]
  7682. 00005086  266F 003C                movea.l    A3, [A7 + 0x3C]
  7683. 0000508A  362F 0040                move.w     D3, [A7 + 0x40]
  7684. 0000508E  42A7                     clr.l      -[A7]
  7685. 00005090  2F0B                     move.l     -[A7], A3
  7686. 00005092  4EAD EA70                jsr        [A5 - 0x1590]
  7687. 00005096  2F0B                     move.l     -[A7], A3
  7688. 00005098  4EAD DD40                jsr        [A5 - 0x22C0]
  7689. 0000509C  0C43 0007                cmpi.w     D3, 0x7
  7690. 000050A0  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7691. 000050A4  662E                     bne        +0x30 /* 000050D4 */
  7692. 000050A6  206B 0082                movea.l    A0, [A3 + 0x82]
  7693. 000050AA  2450                     movea.l    A2, [A0]
  7694. 000050AC  554F                     subq.w     A7, 2
  7695. 000050AE  486A 0008                pea.l      [A2 + 0x8]
  7696. 000050B2  2F0A                     move.l     -[A7], A2
  7697. 000050B4  A8A6                     syscall    EqualRect
  7698. 000050B6  101F                     move.b     D0, [A7]+
  7699. 000050B8  6704                     beq        +0x6 /* 000050BE */
  7700. 000050BA  7608                     moveq.l    D3, 0x08
  7701. 000050BC  6016                     bra        +0x18 /* 000050D4 */
  7702. label000050BE:
  7703. 000050BE  554F                     subq.w     A7, 2
  7704. 000050C0  206B 0076                movea.l    A0, [A3 + 0x76]
  7705. 000050C4  2050                     movea.l    A0, [A0]
  7706. 000050C6  4868 0002                pea.l      [A0 + 0x2]
  7707. 000050CA  2F0A                     move.l     -[A7], A2
  7708. 000050CC  A8A6                     syscall    EqualRect
  7709. 000050CE  101F                     move.b     D0, [A7]+
  7710. 000050D0  6702                     beq        +0x4 /* 000050D4 */
  7711. 000050D2  7608                     moveq.l    D3, 0x08
  7712. label000050D4:
  7713. 000050D4  7000                     moveq.l    D0, 0x00
  7714. 000050D6  102D 81A0                move.b     D0, [A5 - 0x7E60]
  7715. 000050DA  7202                     moveq.l    D1, 0x02
  7716. 000050DC  B081                     cmp.l      D0, D1
  7717. 000050DE  6D00 0148                blt        +0x14A /* 00005228 */
  7718. 000050E2  0C43 0008                cmpi.w     D3, 0x8
  7719. 000050E6  6600 0140                bne        +0x142 /* 00005228 */
  7720. 000050EA  7800                     moveq.l    D4, 0x00
  7721. 000050EC  2F0B                     move.l     -[A7], A3
  7722. 000050EE  4EBA 187E                jsr        [PC + 0x187E /* 0000696E */]
  7723. 000050F2  486F 0010                pea.l      [A7 + 0x10]
  7724. 000050F6  2F0B                     move.l     -[A7], A3
  7725. 000050F8  4EBA 1A0A                jsr        [PC + 0x1A0A /* 00006B04 */]
  7726. 000050FC  206B 0082                movea.l    A0, [A3 + 0x82]
  7727. 00005100  2450                     movea.l    A2, [A0]
  7728. 00005102  302A 000A                move.w     D0, [A2 + 0xA]
  7729. 00005106  48C0                     ext.l      D0
  7730. 00005108  3A2A 000E                move.w     D5, [A2 + 0xE]
  7731. 0000510C  48C5                     ext.l      D5
  7732. 0000510E  9A80                     sub.l      D5, D0
  7733. 00005110  302F 001E                move.w     D0, [A7 + 0x1E]
  7734. 00005114  48C0                     ext.l      D0
  7735. 00005116  B085                     cmp.l      D0, D5
  7736. 00005118  4FEF 000C                lea.l      A7, [A7 + 0xC]
  7737. 0000511C  6F04                     ble        +0x6 /* 00005122 */
  7738. 0000511E  3F45 0012                move.w     [A7 + 0x12], D5
  7739. label00005122:
  7740. 00005122  302A 0008                move.w     D0, [A2 + 0x8]
  7741. 00005126  48C0                     ext.l      D0
  7742. 00005128  3C2A 000C                move.w     D6, [A2 + 0xC]
  7743. 0000512C  48C6                     ext.l      D6
  7744. 0000512E  9C80                     sub.l      D6, D0
  7745. 00005130  302F 0010                move.w     D0, [A7 + 0x10]
  7746. 00005134  48C0                     ext.l      D0
  7747. 00005136  B086                     cmp.l      D0, D6
  7748. 00005138  6F04                     ble        +0x6 /* 0000513E */
  7749. 0000513A  3F46 0010                move.w     [A7 + 0x10], D6
  7750. label0000513E:
  7751. 0000513E  2F6A 0008 0004           move.l     [A7 + 0x4], [A2 + 0x8]
  7752. 00005144  2F6A 000C 0008           move.l     [A7 + 0x8], [A2 + 0xC]
  7753. 0000514A  3E2F 0012                move.w     D7, [A7 + 0x12]
  7754. 0000514E  48C7                     ext.l      D7
  7755. 00005150  302A 000A                move.w     D0, [A2 + 0xA]
  7756. 00005154  48C0                     ext.l      D0
  7757. 00005156  322A 000E                move.w     D1, [A2 + 0xE]
  7758. 0000515A  48C1                     ext.l      D1
  7759. 0000515C  9280                     sub.l      D1, D0
  7760. 0000515E  B287                     cmp.l      D1, D7
  7761. 00005160  6F0E                     ble        +0x10 /* 00005170 */
  7762. 00005162  302A 000A                move.w     D0, [A2 + 0xA]
  7763. 00005166  48C0                     ext.l      D0
  7764. 00005168  D087                     add.l      D0, D7
  7765. 0000516A  3540 000E                move.w     [A2 + 0xE], D0
  7766. 0000516E  7801                     moveq.l    D4, 0x01
  7767. label00005170:
  7768. 00005170  302F 0010                move.w     D0, [A7 + 0x10]
  7769. 00005174  48C0                     ext.l      D0
  7770. 00005176  2840                     movea.l    A4, D0
  7771. 00005178  302A 0008                move.w     D0, [A2 + 0x8]
  7772. 0000517C  48C0                     ext.l      D0
  7773. 0000517E  322A 000C                move.w     D1, [A2 + 0xC]
  7774. 00005182  48C1                     ext.l      D1
  7775. 00005184  9280                     sub.l      D1, D0
  7776. 00005186  B28C                     cmp.l      D1, A4
  7777. 00005188  6F0E                     ble        +0x10 /* 00005198 */
  7778. 0000518A  302A 0008                move.w     D0, [A2 + 0x8]
  7779. 0000518E  48C0                     ext.l      D0
  7780. 00005190  D08C                     add.l      D0, A4
  7781. 00005192  3540 000C                move.w     [A2 + 0xC], D0
  7782. 00005196  7801                     moveq.l    D4, 0x01
  7783. label00005198:
  7784. 00005198  4A84                     tst.l      D4
  7785. 0000519A  6772                     beq        +0x74 /* 0000520E */
  7786. 0000519C  486A 0008                pea.l      [A2 + 0x8]
  7787. 000051A0  302A 000A                move.w     D0, [A2 + 0xA]
  7788. 000051A4  48C0                     ext.l      D0
  7789. 000051A6  322A 0002                move.w     D1, [A2 + 0x2]
  7790. 000051AA  48C1                     ext.l      D1
  7791. 000051AC  9280                     sub.l      D1, D0
  7792. 000051AE  3F01                     move.w     -[A7], D1
  7793. 000051B0  302A 0008                move.w     D0, [A2 + 0x8]
  7794. 000051B4  48C0                     ext.l      D0
  7795. 000051B6  3212                     move.w     D1, [A2]
  7796. 000051B8  48C1                     ext.l      D1
  7797. 000051BA  9280                     sub.l      D1, D0
  7798. 000051BC  3F01                     move.w     -[A7], D1
  7799. 000051BE  A8A8                     syscall    OffsetRect
  7800. 000051C0  302F 000A                move.w     D0, [A7 + 0xA]
  7801. 000051C4  48C0                     ext.l      D0
  7802. 000051C6  2C40                     movea.l    A6, D0
  7803. 000051C8  302A 000E                move.w     D0, [A2 + 0xE]
  7804. 000051CC  48C0                     ext.l      D0
  7805. 000051CE  B08E                     cmp.l      D0, A6
  7806. 000051D0  6F14                     ble        +0x16 /* 000051E6 */
  7807. 000051D2  486A 0008                pea.l      [A2 + 0x8]
  7808. 000051D6  302A 000E                move.w     D0, [A2 + 0xE]
  7809. 000051DA  48C0                     ext.l      D0
  7810. 000051DC  220E                     move.l     D1, A6
  7811. 000051DE  9280                     sub.l      D1, D0
  7812. 000051E0  3F01                     move.w     -[A7], D1
  7813. 000051E2  4267                     clr.w      -[A7]
  7814. 000051E4  A8A8                     syscall    OffsetRect
  7815. label000051E6:
  7816. 000051E6  302F 0008                move.w     D0, [A7 + 0x8]
  7817. 000051EA  48C0                     ext.l      D0
  7818. 000051EC  2E80                     move.l     [A7], D0
  7819. 000051EE  302A 000C                move.w     D0, [A2 + 0xC]
  7820. 000051F2  48C0                     ext.l      D0
  7821. 000051F4  B097                     cmp.l      D0, [A7]
  7822. 000051F6  6F16                     ble        +0x18 /* 0000520E */
  7823. 000051F8  486A 0008                pea.l      [A2 + 0x8]
  7824. 000051FC  4267                     clr.w      -[A7]
  7825. 000051FE  302A 000C                move.w     D0, [A2 + 0xC]
  7826. 00005202  48C0                     ext.l      D0
  7827. 00005204  222F 0006                move.l     D1, [A7 + 0x6]
  7828. 00005208  9280                     sub.l      D1, D0
  7829. 0000520A  3F01                     move.w     -[A7], D1
  7830. 0000520C  A8A8                     syscall    OffsetRect
  7831. label0000520E:
  7832. 0000520E  554F                     subq.w     A7, 2
  7833. 00005210  206B 0076                movea.l    A0, [A3 + 0x76]
  7834. 00005214  2050                     movea.l    A0, [A0]
  7835. 00005216  4868 0002                pea.l      [A0 + 0x2]
  7836. 0000521A  486A 0008                pea.l      [A2 + 0x8]
  7837. 0000521E  A8A6                     syscall    EqualRect
  7838. 00005220  101F                     move.b     D0, [A7]+
  7839. 00005222  6728                     beq        +0x2A /* 0000524C */
  7840. 00005224  7607                     moveq.l    D3, 0x07
  7841. 00005226  6024                     bra        +0x26 /* 0000524C */
  7842. label00005228:
  7843. 00005228  0C43 0008                cmpi.w     D3, 0x8
  7844. 0000522C  661E                     bne        +0x20 /* 0000524C */
  7845. 0000522E  206B 0082                movea.l    A0, [A3 + 0x82]
  7846. 00005232  2450                     movea.l    A2, [A0]
  7847. 00005234  554F                     subq.w     A7, 2
  7848. 00005236  206B 0076                movea.l    A0, [A3 + 0x76]
  7849. 0000523A  2050                     movea.l    A0, [A0]
  7850. 0000523C  4868 0002                pea.l      [A0 + 0x2]
  7851. 00005240  486A 0008                pea.l      [A2 + 0x8]
  7852. 00005244  A8A6                     syscall    EqualRect
  7853. 00005246  101F                     move.b     D0, [A7]+
  7854. 00005248  6702                     beq        +0x4 /* 0000524C */
  7855. 0000524A  7607                     moveq.l    D3, 0x07
  7856. label0000524C:
  7857. 0000524C  486B 0010                pea.l      [A3 + 0x10]
  7858. 00005250  A8A3                     syscall    EraseRect
  7859. 00005252  2F0B                     move.l     -[A7], A3
  7860. 00005254  3F03                     move.w     -[A7], D3
  7861. 00005256  4227                     clr.b      -[A7]
  7862. 00005258  A83A                     syscall    ZoomWindow
  7863. 0000525A  1F3C 0001                move.b     -[A7], 0x1
  7864. 0000525E  2F0B                     move.l     -[A7], A3
  7865. 00005260  4EBA 1B6A                jsr        [PC + 0x1B6A /* 00006DCC */]
  7866. 00005264  4EAD E968                jsr        [A5 - 0x1698]
  7867. 00005268  4EAD DD48                jsr        [A5 - 0x22B8]
  7868. 0000526C  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  7869. 00005270  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  7870. 00005274  4E75                     rts
  7871. 00005276  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  7872. 0000527A  514F                     subq.w     A7, 8
  7873. 0000527C  266F 001C                movea.l    A3, [A7 + 0x1C]
  7874. 00005280  182F 0022                move.b     D4, [A7 + 0x22]
  7875. 00005284  362F 0024                move.w     D3, [A7 + 0x24]
  7876. 00005288  244B                     movea.l    A2, A3
  7877. 0000528A  3F03                     move.w     -[A7], D3
  7878. 0000528C  1F04                     move.b     -[A7], D4
  7879. 0000528E  1F2F 0024                move.b     -[A7], [A7 + 0x24]
  7880. 00005292  2F0A                     move.l     -[A7], A2
  7881. 00005294  4EBA 1CB8                jsr        [PC + 0x1CB8 /* 00006F4E */]
  7882. 00005298  4A80                     tst.l      D0
  7883. 0000529A  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7884. 0000529E  666C                     bne        +0x6E /* 0000530C */
  7885. 000052A0  2F0B                     move.l     -[A7], A3
  7886. 000052A2  4EAD DD40                jsr        [A5 - 0x22C0]
  7887. 000052A6  4227                     clr.b      -[A7]
  7888. 000052A8  486F 0006                pea.l      [A7 + 0x6]
  7889. 000052AC  486F 000E                pea.l      [A7 + 0xE]
  7890. 000052B0  2F0A                     move.l     -[A7], A2
  7891. 000052B2  4EBA 047E                jsr        [PC + 0x47E /* 00005732 */]
  7892. 000052B6  4FEF 0012                lea.l      A7, [A7 + 0x12]
  7893. 000052BA  6018                     bra        +0x1A /* 000052D4 */
  7894. label000052BC:
  7895. 000052BC  3F03                     move.w     -[A7], D3
  7896. 000052BE  1F04                     move.b     -[A7], D4
  7897. 000052C0  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  7898. 000052C4  206F 000C                movea.l    A0, [A7 + 0xC]
  7899. 000052C8  2068 002C                movea.l    A0, [A0 + 0x2C]
  7900. 000052CC  4E90                     jsr        [A0]
  7901. 000052CE  4A80                     tst.l      D0
  7902. 000052D0  504F                     addq.w     A7, 8
  7903. 000052D2  661A                     bne        +0x1C /* 000052EE */
  7904. label000052D4:
  7905. 000052D4  1F3C 0001                move.b     -[A7], 0x1
  7906. 000052D8  486F 0002                pea.l      [A7 + 0x2]
  7907. 000052DC  486F 000A                pea.l      [A7 + 0xA]
  7908. 000052E0  2F0A                     move.l     -[A7], A2
  7909. 000052E2  4EBA 044E                jsr        [PC + 0x44E /* 00005732 */]
  7910. 000052E6  4A80                     tst.l      D0
  7911. 000052E8  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7912. 000052EC  66CE                     bne        -0x30 /* 000052BC */
  7913. label000052EE:
  7914. 000052EE  1F3C 0002                move.b     -[A7], 0x2
  7915. 000052F2  486F 0002                pea.l      [A7 + 0x2]
  7916. 000052F6  486F 000A                pea.l      [A7 + 0xA]
  7917. 000052FA  2F0A                     move.l     -[A7], A2
  7918. 000052FC  4EBA 0434                jsr        [PC + 0x434 /* 00005732 */]
  7919. 00005300  4EAD E968                jsr        [A5 - 0x1698]
  7920. 00005304  4EAD DD48                jsr        [A5 - 0x22B8]
  7921. 00005308  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7922. label0000530C:
  7923. 0000530C  504F                     addq.w     A7, 8
  7924. 0000530E  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  7925. 00005312  4E75                     rts
  7926. 00005314  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  7927. 00005318  514F                     subq.w     A7, 8
  7928. 0000531A  266F 001C                movea.l    A3, [A7 + 0x1C]
  7929. 0000531E  182F 0022                move.b     D4, [A7 + 0x22]
  7930. 00005322  244B                     movea.l    A2, A3
  7931. 00005324  7600                     moveq.l    D3, 0x00
  7932. 00005326  3F2F 0024                move.w     -[A7], [A7 + 0x24]
  7933. 0000532A  1F04                     move.b     -[A7], D4
  7934. 0000532C  1F2F 0024                move.b     -[A7], [A7 + 0x24]
  7935. 00005330  2F0A                     move.l     -[A7], A2
  7936. 00005332  4EBA 1C1A                jsr        [PC + 0x1C1A /* 00006F4E */]
  7937. 00005336  4A80                     tst.l      D0
  7938. 00005338  4FEF 000A                lea.l      A7, [A7 + 0xA]
  7939. 0000533C  670A                     beq        +0xC /* 00005348 */
  7940. 0000533E  7001                     moveq.l    D0, 0x01
  7941. 00005340  504F                     addq.w     A7, 8
  7942. 00005342  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  7943. 00005346  4E75                     rts
  7944. label00005348:
  7945. 00005348  2F0B                     move.l     -[A7], A3
  7946. 0000534A  4EAD DD40                jsr        [A5 - 0x22C0]
  7947. 0000534E  4227                     clr.b      -[A7]
  7948. 00005350  486F 0006                pea.l      [A7 + 0x6]
  7949. 00005354  486F 000E                pea.l      [A7 + 0xE]
  7950. 00005358  2F0A                     move.l     -[A7], A2
  7951. 0000535A  4EBA 03D6                jsr        [PC + 0x3D6 /* 00005732 */]
  7952. 0000535E  4FEF 0012                lea.l      A7, [A7 + 0x12]
  7953. 00005362  601A                     bra        +0x1C /* 0000537E */
  7954. label00005364:
  7955. 00005364  1F04                     move.b     -[A7], D4
  7956. 00005366  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  7957. 0000536A  206F 000A                movea.l    A0, [A7 + 0xA]
  7958. 0000536E  2068 0030                movea.l    A0, [A0 + 0x30]
  7959. 00005372  4E90                     jsr        [A0]
  7960. 00005374  4A80                     tst.l      D0
  7961. 00005376  5C4F                     addq.w     A7, 6
  7962. 00005378  6704                     beq        +0x6 /* 0000537E */
  7963. 0000537A  7601                     moveq.l    D3, 0x01
  7964. 0000537C  601A                     bra        +0x1C /* 00005398 */
  7965. label0000537E:
  7966. 0000537E  1F3C 0001                move.b     -[A7], 0x1
  7967. 00005382  486F 0002                pea.l      [A7 + 0x2]
  7968. 00005386  486F 000A                pea.l      [A7 + 0xA]
  7969. 0000538A  2F0A                     move.l     -[A7], A2
  7970. 0000538C  4EBA 03A4                jsr        [PC + 0x3A4 /* 00005732 */]
  7971. 00005390  4A80                     tst.l      D0
  7972. 00005392  4FEF 000E                lea.l      A7, [A7 + 0xE]
  7973. 00005396  66CC                     bne        -0x32 /* 00005364 */
  7974. label00005398:
  7975. 00005398  1F3C 0002                move.b     -[A7], 0x2
  7976. 0000539C  486F 0002                pea.l      [A7 + 0x2]
  7977. 000053A0  486F 000A                pea.l      [A7 + 0xA]
  7978. 000053A4  2F0A                     move.l     -[A7], A2
  7979. 000053A6  4EBA 038A                jsr        [PC + 0x38A /* 00005732 */]
  7980. 000053AA  4EAD E968                jsr        [A5 - 0x1698]
  7981. 000053AE  4EAD DD48                jsr        [A5 - 0x22B8]
  7982. 000053B2  2003                     move.l     D0, D3
  7983. 000053B4  4FEF 0016                lea.l      A7, [A7 + 0x16]
  7984. 000053B8  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  7985. 000053BC  4E75                     rts
  7986. 000053BE  48E7 1030                movem.l    -[A7], D3,A2,A3
  7987. 000053C2  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  7988. 000053C6  266F 001C                movea.l    A3, [A7 + 0x1C]
  7989. 000053CA  244B                     movea.l    A2, A3
  7990. 000053CC  7600                     moveq.l    D3, 0x00
  7991. 000053CE  2F0B                     move.l     -[A7], A3
  7992. 000053D0  4EAD DD40                jsr        [A5 - 0x22C0]
  7993. 000053D4  4227                     clr.b      -[A7]
  7994. 000053D6  486F 000A                pea.l      [A7 + 0xA]
  7995. 000053DA  486F 0012                pea.l      [A7 + 0x12]
  7996. 000053DE  2F0A                     move.l     -[A7], A2
  7997. 000053E0  4EBA 0350                jsr        [PC + 0x350 /* 00005732 */]
  7998. 000053E4  4FEF 0012                lea.l      A7, [A7 + 0x12]
  7999. 000053E8  602C                     bra        +0x2E /* 00005416 */
  8000. label000053EA:
  8001. 000053EA  554F                     subq.w     A7, 2
  8002. 000053EC  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  8003. 000053F0  206F 000E                movea.l    A0, [A7 + 0xE]
  8004. 000053F4  4868 0040                pea.l      [A0 + 0x40]
  8005. 000053F8  A8AD                     syscall    PtInRect
  8006. 000053FA  101F                     move.b     D0, [A7]+
  8007. 000053FC  6718                     beq        +0x1A /* 00005416 */
  8008. 000053FE  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  8009. 00005402  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  8010. 00005406  206F 0010                movea.l    A0, [A7 + 0x10]
  8011. 0000540A  2068 0020                movea.l    A0, [A0 + 0x20]
  8012. 0000540E  4E90                     jsr        [A0]
  8013. 00005410  7601                     moveq.l    D3, 0x01
  8014. 00005412  504F                     addq.w     A7, 8
  8015. 00005414  601A                     bra        +0x1C /* 00005430 */
  8016. label00005416:
  8017. 00005416  1F3C 0001                move.b     -[A7], 0x1
  8018. 0000541A  486F 0006                pea.l      [A7 + 0x6]
  8019. 0000541E  486F 000E                pea.l      [A7 + 0xE]
  8020. 00005422  2F0A                     move.l     -[A7], A2
  8021. 00005424  4EBA 030C                jsr        [PC + 0x30C /* 00005732 */]
  8022. 00005428  4A80                     tst.l      D0
  8023. 0000542A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8024. 0000542E  66BA                     bne        -0x44 /* 000053EA */
  8025. label00005430:
  8026. 00005430  1F3C 0002                move.b     -[A7], 0x2
  8027. 00005434  486F 0006                pea.l      [A7 + 0x6]
  8028. 00005438  486F 000E                pea.l      [A7 + 0xE]
  8029. 0000543C  2F0A                     move.l     -[A7], A2
  8030. 0000543E  4EBA 02F2                jsr        [PC + 0x2F2 /* 00005732 */]
  8031. 00005442  4A83                     tst.l      D3
  8032. 00005444  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8033. 00005448  6616                     bne        +0x18 /* 00005460 */
  8034. 0000544A  2EAD 8D0E                move.l     [A7], [A5 - 0x72F2]
  8035. 0000544E  4267                     clr.w      -[A7]
  8036. 00005450  2F2F 0002                move.l     -[A7], [A7 + 0x2]
  8037. 00005454  4EAD DFE8                jsr        [A5 - 0x2018]
  8038. 00005458  4267                     clr.w      -[A7]
  8039. 0000545A  4EAD DDA0                jsr        [A5 - 0x2260]
  8040. 0000545E  5C4F                     addq.w     A7, 6
  8041. label00005460:
  8042. 00005460  4EAD DD48                jsr        [A5 - 0x22B8]
  8043. 00005464  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8044. 00005468  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  8045. 0000546C  4E75                     rts
  8046. 0000546E  594F                     subq.w     A7, 4
  8047. 00005470  2EAF 0008                move.l     [A7], [A7 + 0x8]
  8048. 00005474  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  8049. 00005478  206F 0004                movea.l    A0, [A7 + 0x4]
  8050. 0000547C  4868 009C                pea.l      [A0 + 0x9C]
  8051. 00005480  4EAD DE70                jsr        [A5 - 0x2190]
  8052. 00005484  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8053. 00005488  4E75                     rts
  8054. fn0000548A:
  8055. 0000548A  2F0A                     move.l     -[A7], A2
  8056. 0000548C  246F 0008                movea.l    A2, [A7 + 0x8]
  8057. 00005490  7000                     moveq.l    D0, 0x00
  8058. 00005492  102F 000C                move.b     D0, [A7 + 0xC]
  8059. 00005496  0C80 0000 0015           cmpi.l     D0, 0x15
  8060. 0000549C  6236                     bhi        +0x38 /* 000054D4 */
  8061. 0000549E  D040                     add.w      D0, D0
  8062. 000054A0  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  8063. 000054A4  4EFB 0002                jmp        [PC + D0.w + 0x2]
  8064. 000054A8  0032 0046 0050           ori.b      [A2 + D0.w + 0x50], 0x46 /* 'F' */
  8065. 000054AE  005A 0064                ori.w      [A2]+, 0x64 /* 'd' */
  8066. 000054B2  006E 0078 0082           ori.w      [A6 + 0x82], 0x78 /* 'x' */
  8067. 000054B8  002C 008C 00FC           ori.b      [A4 + 0xFC], 0x8C
  8068. 000054BE  00EA 0096                ori.?      [A2 + 0x96], 0xFFFFFFFFFFFFFFFF
  8069. 000054C2  00F4 00A6                ori.?      [A4 + D0.w - 0x90], 0xFFFFFFFFFFFFFFFF
  8070. 000054C6  00AE 0104 00B8 00C2      ori.l      [A6 + 0xC2], 0x10400B8
  8071. 000054CE  00CC                     ori.?      A4, 0xFFFFFFFFFFFFFFFF
  8072. 000054D0  00D6                     ori.?      [A6], 0xFFFFFFFFFFFFFFFF
  8073. 000054D2  00E0                     ori.?      -[A0], 0xFFFFFFFFFFFFFFFF
  8074. label000054D4:
  8075. 000054D4  91C8                     sub.l      A0, A0
  8076. 000054D6  245F                     movea.l    A2, [A7]+
  8077. 000054D8  4E75                     rts
  8078. 000054DA  4AAD B2D8                tst.l      [A5 - 0x4D28]
  8079. 000054DE  6606                     bne        +0x8 /* 000054E6 */
  8080. 000054E0  206A 0138                movea.l    A0, [A2 + 0x138]
  8081. 000054E4  6004                     bra        +0x6 /* 000054EA */
  8082. label000054E6:
  8083. 000054E6  4EAD FF30                jsr        [A5 - 0xD0]
  8084. label000054EA:
  8085. 000054EA  245F                     movea.l    A2, [A7]+
  8086. 000054EC  4E75                     rts
  8087. 000054EE  204A                     movea.l    A0, A2
  8088. 000054F0  41E8 0144                lea.l      A0, [A0 + 0x144]
  8089. 000054F4  245F                     movea.l    A2, [A7]+
  8090. 000054F6  4E75                     rts
  8091. 000054F8  204A                     movea.l    A0, A2
  8092. 000054FA  41E8 0140                lea.l      A0, [A0 + 0x140]
  8093. 000054FE  245F                     movea.l    A2, [A7]+
  8094. 00005500  4E75                     rts
  8095. 00005502  204A                     movea.l    A0, A2
  8096. 00005504  41E8 0150                lea.l      A0, [A0 + 0x150]
  8097. 00005508  245F                     movea.l    A2, [A7]+
  8098. 0000550A  4E75                     rts
  8099. 0000550C  204A                     movea.l    A0, A2
  8100. 0000550E  41E8 00E2                lea.l      A0, [A0 + 0xE2]
  8101. 00005512  245F                     movea.l    A2, [A7]+
  8102. 00005514  4E75                     rts
  8103. 00005516  204A                     movea.l    A0, A2
  8104. 00005518  41E8 009C                lea.l      A0, [A0 + 0x9C]
  8105. 0000551C  245F                     movea.l    A2, [A7]+
  8106. 0000551E  4E75                     rts
  8107. 00005520  204A                     movea.l    A0, A2
  8108. 00005522  41E8 0166                lea.l      A0, [A0 + 0x166]
  8109. 00005526  245F                     movea.l    A2, [A7]+
  8110. 00005528  4E75                     rts
  8111. 0000552A  204A                     movea.l    A0, A2
  8112. 0000552C  41E8 0168                lea.l      A0, [A0 + 0x168]
  8113. 00005530  245F                     movea.l    A2, [A7]+
  8114. 00005532  4E75                     rts
  8115. 00005534  204A                     movea.l    A0, A2
  8116. 00005536  41E8 0148                lea.l      A0, [A0 + 0x148]
  8117. 0000553A  245F                     movea.l    A2, [A7]+
  8118. 0000553C  4E75                     rts
  8119. 0000553E  4227                     clr.b      -[A7]
  8120. 00005540  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  8121. 00005544  4EBA DE7A                jsr        [PC - 0x2186 /* 000033C0 */]
  8122. 00005548  584F                     addq.w     A7, 4
  8123. 0000554A  245F                     movea.l    A2, [A7]+
  8124. 0000554C  4E75                     rts
  8125. 0000554E  206A 013C                movea.l    A0, [A2 + 0x13C]
  8126. 00005552  245F                     movea.l    A2, [A7]+
  8127. 00005554  4E75                     rts
  8128. 00005556  204A                     movea.l    A0, A2
  8129. 00005558  41E8 014C                lea.l      A0, [A0 + 0x14C]
  8130. 0000555C  245F                     movea.l    A2, [A7]+
  8131. 0000555E  4E75                     rts
  8132. 00005560  204A                     movea.l    A0, A2
  8133. 00005562  41E8 0164                lea.l      A0, [A0 + 0x164]
  8134. 00005566  245F                     movea.l    A2, [A7]+
  8135. 00005568  4E75                     rts
  8136. 0000556A  204A                     movea.l    A0, A2
  8137. 0000556C  41E8 00EC                lea.l      A0, [A0 + 0xEC]
  8138. 00005570  245F                     movea.l    A2, [A7]+
  8139. 00005572  4E75                     rts
  8140. 00005574  204A                     movea.l    A0, A2
  8141. 00005576  41E8 0154                lea.l      A0, [A0 + 0x154]
  8142. 0000557A  245F                     movea.l    A2, [A7]+
  8143. 0000557C  4E75                     rts
  8144. 0000557E  204A                     movea.l    A0, A2
  8145. 00005580  41E8 0158                lea.l      A0, [A0 + 0x158]
  8146. 00005584  245F                     movea.l    A2, [A7]+
  8147. 00005586  4E75                     rts
  8148. 00005588  204A                     movea.l    A0, A2
  8149. 0000558A  41E8 015C                lea.l      A0, [A0 + 0x15C]
  8150. 0000558E  245F                     movea.l    A2, [A7]+
  8151. 00005590  4E75                     rts
  8152. 00005592  204A                     movea.l    A0, A2
  8153. 00005594  41E8 0160                lea.l      A0, [A0 + 0x160]
  8154. 00005598  245F                     movea.l    A2, [A7]+
  8155. 0000559A  4E75                     rts
  8156. 0000559C  206A 0128                movea.l    A0, [A2 + 0x128]
  8157. 000055A0  245F                     movea.l    A2, [A7]+
  8158. 000055A2  4E75                     rts
  8159. 000055A4  206A 012C                movea.l    A0, [A2 + 0x12C]
  8160. 000055A8  245F                     movea.l    A2, [A7]+
  8161. 000055AA  4E75                     rts
  8162. 000055AC  204A                     movea.l    A0, A2
  8163. 000055AE  41E8 0130                lea.l      A0, [A0 + 0x130]
  8164. 000055B2  245F                     movea.l    A2, [A7]+
  8165. 000055B4  4E75                     rts
  8166. 000055B6  48E7 0030                movem.l    -[A7], A2,A3
  8167. 000055BA  266F 0012                movea.l    A3, [A7 + 0x12]
  8168. 000055BE  246F 000C                movea.l    A2, [A7 + 0xC]
  8169. 000055C2  7000                     moveq.l    D0, 0x00
  8170. 000055C4  102F 0010                move.b     D0, [A7 + 0x10]
  8171. 000055C8  6710                     beq        +0x12 /* 000055DA */
  8172. 000055CA  5580                     subq.l     D0, 2
  8173. 000055CC  6706                     beq        +0x8 /* 000055D4 */
  8174. 000055CE  5180                     subq.l     D0, 8
  8175. 000055D0  6728                     beq        +0x2A /* 000055FA */
  8176. 000055D2  6036                     bra        +0x38 /* 0000560A */
  8177. label000055D4:
  8178. 000055D4  2553 0140                move.l     [A2 + 0x140], [A3]
  8179. 000055D8  6030                     bra        +0x32 /* 0000560A */
  8180. label000055DA:
  8181. 000055DA  4AAD B2D8                tst.l      [A5 - 0x4D28]
  8182. 000055DE  670A                     beq        +0xC /* 000055EA */
  8183. 000055E0  2F0B                     move.l     -[A7], A3
  8184. 000055E2  4EAD FF38                jsr        [A5 - 0xC8]
  8185. 000055E6  584F                     addq.w     A7, 4
  8186. 000055E8  6020                     bra        +0x22 /* 0000560A */
  8187. label000055EA:
  8188. 000055EA  2F2A 0138                move.l     -[A7], [A2 + 0x138]
  8189. 000055EE  4EAD E900                jsr        [A5 - 0x1700]
  8190. 000055F2  254B 0138                move.l     [A2 + 0x138], A3
  8191. 000055F6  584F                     addq.w     A7, 4
  8192. 000055F8  6010                     bra        +0x12 /* 0000560A */
  8193. label000055FA:
  8194. 000055FA  4AAA 012C                tst.l      [A2 + 0x12C]
  8195. 000055FE  6706                     beq        +0x8 /* 00005606 */
  8196. 00005600  206A 012C                movea.l    A0, [A2 + 0x12C]
  8197. 00005604  A049                     syscall    HPurge
  8198. label00005606:
  8199. 00005606  254B 012C                move.l     [A2 + 0x12C], A3
  8200. label0000560A:
  8201. 0000560A  4CDF 0C00                movem.l    A2,A3, [A7]+
  8202. 0000560E  4E75                     rts
  8203. 00005610  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  8204. 00005614  514F                     subq.w     A7, 8
  8205. 00005616  2A2F 0020                move.l     D5, [A7 + 0x20]
  8206. 0000561A  246F 001C                movea.l    A2, [A7 + 0x1C]
  8207. 0000561E  78FF                     moveq.l    D4, 0xFFFFFFFF
  8208. 00005620  7600                     moveq.l    D3, 0x00
  8209. 00005622  4227                     clr.b      -[A7]
  8210. 00005624  486F 0002                pea.l      [A7 + 0x2]
  8211. 00005628  486F 000A                pea.l      [A7 + 0xA]
  8212. 0000562C  2F0A                     move.l     -[A7], A2
  8213. 0000562E  4EBA 0102                jsr        [PC + 0x102 /* 00005732 */]
  8214. 00005632  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8215. 00005636  6010                     bra        +0x12 /* 00005648 */
  8216. label00005638:
  8217. 00005638  206F 0004                movea.l    A0, [A7 + 0x4]
  8218. 0000563C  BAA8 004C                cmp.l      D5, [A0 + 0x4C]
  8219. 00005640  6604                     bne        +0x6 /* 00005646 */
  8220. 00005642  2803                     move.l     D4, D3
  8221. 00005644  601C                     bra        +0x1E /* 00005662 */
  8222. label00005646:
  8223. 00005646  5283                     addq.l     D3, 1
  8224. label00005648:
  8225. 00005648  1F3C 0001                move.b     -[A7], 0x1
  8226. 0000564C  486F 0002                pea.l      [A7 + 0x2]
  8227. 00005650  486F 000A                pea.l      [A7 + 0xA]
  8228. 00005654  2F0A                     move.l     -[A7], A2
  8229. 00005656  4EBA 00DA                jsr        [PC + 0xDA /* 00005732 */]
  8230. 0000565A  4A80                     tst.l      D0
  8231. 0000565C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8232. 00005660  66D6                     bne        -0x28 /* 00005638 */
  8233. label00005662:
  8234. 00005662  1F3C 0002                move.b     -[A7], 0x2
  8235. 00005666  486F 0002                pea.l      [A7 + 0x2]
  8236. 0000566A  486F 000A                pea.l      [A7 + 0xA]
  8237. 0000566E  2F0A                     move.l     -[A7], A2
  8238. 00005670  4EBA 00C0                jsr        [PC + 0xC0 /* 00005732 */]
  8239. 00005674  2004                     move.l     D0, D4
  8240. 00005676  4FEF 0016                lea.l      A7, [A7 + 0x16]
  8241. 0000567A  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  8242. 0000567E  4E75                     rts
  8243. fn00005680:
  8244. 00005680  48E7 1820                movem.l    -[A7], D3,D4,A2
  8245. 00005684  262F 0014                move.l     D3, [A7 + 0x14]
  8246. 00005688  182F 0018                move.b     D4, [A7 + 0x18]
  8247. 0000568C  246F 0010                movea.l    A2, [A7 + 0x10]
  8248. 00005690  4AAA 0134                tst.l      [A2 + 0x134]
  8249. 00005694  6608                     bne        +0xA /* 0000569E */
  8250. 00005696  91C8                     sub.l      A0, A0
  8251. 00005698  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  8252. 0000569C  4E75                     rts
  8253. label0000569E:
  8254. 0000569E  0C04 0002                cmpi.b     D4, 0x2
  8255. 000056A2  6612                     bne        +0x14 /* 000056B6 */
  8256. 000056A4  2F2A 0134                move.l     -[A7], [A2 + 0x134]
  8257. 000056A8  4EAD DD88                jsr        [A5 - 0x2278]
  8258. 000056AC  91C8                     sub.l      A0, A0
  8259. 000056AE  584F                     addq.w     A7, 4
  8260. 000056B0  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  8261. 000056B4  4E75                     rts
  8262. label000056B6:
  8263. 000056B6  0C04 0001                cmpi.b     D4, 0x1
  8264. 000056BA  670A                     beq        +0xC /* 000056C6 */
  8265. 000056BC  2F2A 0134                move.l     -[A7], [A2 + 0x134]
  8266. 000056C0  4EAD DD80                jsr        [A5 - 0x2280]
  8267. 000056C4  584F                     addq.w     A7, 4
  8268. label000056C6:
  8269. 000056C6  709C                     moveq.l    D0, 0xFFFFFF9C
  8270. 000056C8  B680                     cmp.l      D3, D0
  8271. 000056CA  662C                     bne        +0x2E /* 000056F8 */
  8272. 000056CC  7000                     moveq.l    D0, 0x00
  8273. 000056CE  102A 016A                move.b     D0, [A2 + 0x16A]
  8274. 000056D2  0C80 0000 0006           cmpi.l     D0, 0x6
  8275. 000056D8  621E                     bhi        +0x20 /* 000056F8 */
  8276. 000056DA  D040                     add.w      D0, D0
  8277. 000056DC  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  8278. 000056E0  4EFB 0002                jmp        [PC + D0.w + 0x2]
  8279. 000056E4  0012 000E                ori.b      [A2], 0xE
  8280. 000056E8  000E 0014                ori.b      A6, 0x14
  8281. 000056EC  000E 0014                ori.b      A6, 0x14
  8282. 000056F0  000E 7600                ori.b      A6, 0x0
  8283. 000056F4  6002                     bra        +0x4 /* 000056F8 */
  8284. 000056F6  7601                     moveq.l    D3, 0x01
  8285. label000056F8:
  8286. 000056F8  709C                     moveq.l    D0, 0xFFFFFF9C
  8287. 000056FA  B680                     cmp.l      D3, D0
  8288. 000056FC  6716                     beq        +0x18 /* 00005714 */
  8289. 000056FE  594F                     subq.w     A7, 4
  8290. 00005700  2F2A 0134                move.l     -[A7], [A2 + 0x134]
  8291. 00005704  4EAD D9AC                jsr        [A5 - 0x2654]
  8292. 00005708  201F                     move.l     D0, [A7]+
  8293. 0000570A  7258                     moveq.l    D1, 0x58
  8294. 0000570C  4EAD D8FE                jsr        [A5 - 0x2702]
  8295. 00005710  B680                     cmp.l      D3, D0
  8296. 00005712  6508                     bcs        +0xA /* 0000571C */
  8297. label00005714:
  8298. 00005714  91C8                     sub.l      A0, A0
  8299. 00005716  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  8300. 0000571A  4E75                     rts
  8301. label0000571C:
  8302. 0000571C  2003                     move.l     D0, D3
  8303. 0000571E  7258                     moveq.l    D1, 0x58
  8304. 00005720  4EAD D8F8                jsr        [A5 - 0x2708]
  8305. 00005724  206A 0134                movea.l    A0, [A2 + 0x134]
  8306. 00005728  2050                     movea.l    A0, [A0]
  8307. 0000572A  D1C0                     add.l      A0, D0
  8308. 0000572C  4CDF 0418                movem.l    D3,D4,A2, [A7]+
  8309. 00005730  4E75                     rts
  8310. fn00005732:
  8311. 00005732  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  8312. 00005736  246F 0018                movea.l    A2, [A7 + 0x18]
  8313. 0000573A  286F 001C                movea.l    A4, [A7 + 0x1C]
  8314. 0000573E  162F 0020                move.b     D3, [A7 + 0x20]
  8315. 00005742  266F 0014                movea.l    A3, [A7 + 0x14]
  8316. 00005746  4AAB 0134                tst.l      [A3 + 0x134]
  8317. 0000574A  660A                     bne        +0xC /* 00005756 */
  8318. 0000574C  4292                     clr.l      [A2]
  8319. 0000574E  7000                     moveq.l    D0, 0x00
  8320. 00005750  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  8321. 00005754  4E75                     rts
  8322. label00005756:
  8323. 00005756  4A03                     tst.b      D3
  8324. 00005758  6706                     beq        +0x8 /* 00005760 */
  8325. 0000575A  0C03 0003                cmpi.b     D3, 0x3
  8326. 0000575E  6614                     bne        +0x16 /* 00005774 */
  8327. label00005760:
  8328. 00005760  594F                     subq.w     A7, 4
  8329. 00005762  2F2B 0134                move.l     -[A7], [A3 + 0x134]
  8330. 00005766  4EAD D9AC                jsr        [A5 - 0x2654]
  8331. 0000576A  201F                     move.l     D0, [A7]+
  8332. 0000576C  7258                     moveq.l    D1, 0x58
  8333. 0000576E  4EAD D8FE                jsr        [A5 - 0x2702]
  8334. 00005772  2880                     move.l     [A4], D0
  8335. label00005774:
  8336. 00005774  7000                     moveq.l    D0, 0x00
  8337. 00005776  1003                     move.b     D0, D3
  8338. 00005778  670E                     beq        +0x10 /* 00005788 */
  8339. 0000577A  5380                     subq.l     D0, 1
  8340. 0000577C  672A                     beq        +0x2C /* 000057A8 */
  8341. 0000577E  5380                     subq.l     D0, 1
  8342. 00005780  6716                     beq        +0x18 /* 00005798 */
  8343. 00005782  5380                     subq.l     D0, 1
  8344. 00005784  671C                     beq        +0x1E /* 000057A2 */
  8345. 00005786  6042                     bra        +0x44 /* 000057CA */
  8346. label00005788:
  8347. 00005788  2F2B 0134                move.l     -[A7], [A3 + 0x134]
  8348. 0000578C  4EAD DD80                jsr        [A5 - 0x2280]
  8349. 00005790  4292                     clr.l      [A2]
  8350. 00005792  7600                     moveq.l    D3, 0x00
  8351. 00005794  584F                     addq.w     A7, 4
  8352. 00005796  6036                     bra        +0x38 /* 000057CE */
  8353. label00005798:
  8354. 00005798  2F2B 0134                move.l     -[A7], [A3 + 0x134]
  8355. 0000579C  4EAD DD88                jsr        [A5 - 0x2278]
  8356. 000057A0  584F                     addq.w     A7, 4
  8357. label000057A2:
  8358. 000057A2  4292                     clr.l      [A2]
  8359. 000057A4  7600                     moveq.l    D3, 0x00
  8360. 000057A6  6026                     bra        +0x28 /* 000057CE */
  8361. label000057A8:
  8362. 000057A8  2014                     move.l     D0, [A4]
  8363. 000057AA  5394                     subq.l     [A4], 1
  8364. 000057AC  4A80                     tst.l      D0
  8365. 000057AE  6606                     bne        +0x8 /* 000057B6 */
  8366. 000057B0  4292                     clr.l      [A2]
  8367. 000057B2  7600                     moveq.l    D3, 0x00
  8368. 000057B4  6018                     bra        +0x1A /* 000057CE */
  8369. label000057B6:
  8370. 000057B6  4A92                     tst.l      [A2]
  8371. 000057B8  6706                     beq        +0x8 /* 000057C0 */
  8372. 000057BA  7058                     moveq.l    D0, 0x58
  8373. 000057BC  D192                     add.l      [A2], D0
  8374. 000057BE  6006                     bra        +0x8 /* 000057C6 */
  8375. label000057C0:
  8376. 000057C0  206B 0134                movea.l    A0, [A3 + 0x134]
  8377. 000057C4  2490                     move.l     [A2], [A0]
  8378. label000057C6:
  8379. 000057C6  7601                     moveq.l    D3, 0x01
  8380. 000057C8  6004                     bra        +0x6 /* 000057CE */
  8381. label000057CA:
  8382. 000057CA  4292                     clr.l      [A2]
  8383. 000057CC  7600                     moveq.l    D3, 0x00
  8384. label000057CE:
  8385. 000057CE  2003                     move.l     D0, D3
  8386. 000057D0  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  8387. 000057D4  4E75                     rts
  8388. fn000057D6:
  8389. 000057D6  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  8390. 000057DA  594F                     subq.w     A7, 4
  8391. 000057DC  282F 0024                move.l     D4, [A7 + 0x24]
  8392. 000057E0  2C6F 0028                movea.l    A6, [A7 + 0x28]
  8393. 000057E4  286F 002C                movea.l    A4, [A7 + 0x2C]
  8394. 000057E8  246F 0020                movea.l    A2, [A7 + 0x20]
  8395. 000057EC  4AAD 8D1E                tst.l      [A5 - 0x72E2]
  8396. 000057F0  672E                     beq        +0x30 /* 00005820 */
  8397. 000057F2  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  8398. 000057F6  4EAD E238                jsr        [A5 - 0x1DC8]
  8399. 000057FA  5380                     subq.l     D0, 1
  8400. 000057FC  2600                     move.l     D3, D0
  8401. 000057FE  4AAA 0144                tst.l      [A2 + 0x144]
  8402. 00005802  5EC0                     sgt        D0
  8403. 00005804  4400                     neg.b      D0
  8404. 00005806  4880                     ext.w      D0
  8405. 00005808  48C0                     ext.l      D0
  8406. 0000580A  2044                     movea.l    A0, D4
  8407. 0000580C  2080                     move.l     [A0], D0
  8408. 0000580E  B6AA 0144                cmp.l      D3, [A2 + 0x144]
  8409. 00005812  5EC0                     sgt        D0
  8410. 00005814  4400                     neg.b      D0
  8411. 00005816  4880                     ext.w      D0
  8412. 00005818  48C0                     ext.l      D0
  8413. 0000581A  2C80                     move.l     [A6], D0
  8414. 0000581C  544F                     addq.w     A7, 2
  8415. 0000581E  604C                     bra        +0x4E /* 0000586C */
  8416. label00005820:
  8417. 00005820  2F2A 0140                move.l     -[A7], [A2 + 0x140]
  8418. 00005824  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  8419. 00005828  4EAD E1A8                jsr        [A5 - 0x1E58]
  8420. 0000582C  2648                     movea.l    A3, A0
  8421. 0000582E  7001                     moveq.l    D0, 0x01
  8422. 00005830  B0AA 0150                cmp.l      D0, [A2 + 0x150]
  8423. 00005834  5FC0                     sle        D0
  8424. 00005836  4400                     neg.b      D0
  8425. 00005838  4880                     ext.w      D0
  8426. 0000583A  48C0                     ext.l      D0
  8427. 0000583C  2044                     movea.l    A0, D4
  8428. 0000583E  2080                     move.l     [A0], D0
  8429. 00005840  4AAA 0150                tst.l      [A2 + 0x150]
  8430. 00005844  5C4F                     addq.w     A7, 6
  8431. 00005846  6D1C                     blt        +0x1E /* 00005864 */
  8432. 00005848  200B                     move.l     D0, A3
  8433. 0000584A  6718                     beq        +0x1A /* 00005864 */
  8434. 0000584C  2E80                     move.l     [A7], D0
  8435. 0000584E  594F                     subq.w     A7, 4
  8436. 00005850  2F0B                     move.l     -[A7], A3
  8437. 00005852  4EAD D9AC                jsr        [A5 - 0x2654]
  8438. 00005856  201F                     move.l     D0, [A7]+
  8439. 00005858  E488                     lsr        D0, 2
  8440. 0000585A  222A 0150                move.l     D1, [A2 + 0x150]
  8441. 0000585E  5281                     addq.l     D1, 1
  8442. 00005860  B280                     cmp.l      D1, D0
  8443. 00005862  6504                     bcs        +0x6 /* 00005868 */
  8444. label00005864:
  8445. 00005864  7000                     moveq.l    D0, 0x00
  8446. 00005866  6002                     bra        +0x4 /* 0000586A */
  8447. label00005868:
  8448. 00005868  7001                     moveq.l    D0, 0x01
  8449. label0000586A:
  8450. 0000586A  2C80                     move.l     [A6], D0
  8451. label0000586C:
  8452. 0000586C  200C                     move.l     D0, A4
  8453. 0000586E  6712                     beq        +0x14 /* 00005882 */
  8454. 00005870  202A 0144                move.l     D0, [A2 + 0x144]
  8455. 00005874  B0AA 00E2                cmp.l      D0, [A2 + 0xE2]
  8456. 00005878  57C0                     seq        D0
  8457. 0000587A  4400                     neg.b      D0
  8458. 0000587C  4880                     ext.w      D0
  8459. 0000587E  48C0                     ext.l      D0
  8460. 00005880  2880                     move.l     [A4], D0
  8461. label00005882:
  8462. 00005882  584F                     addq.w     A7, 4
  8463. 00005884  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  8464. 00005888  4E75                     rts
  8465. fn0000588A:
  8466. 0000588A  206F 0004                movea.l    A0, [A7 + 0x4]
  8467. 0000588E  1028 016A                move.b     D0, [A0 + 0x16A]
  8468. 00005892  4E75                     rts
  8469. 00005894  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  8470. 00005898  286F 001C                movea.l    A4, [A7 + 0x1C]
  8471. 0000589C  382F 0020                move.w     D4, [A7 + 0x20]
  8472. 000058A0  2C6F 0022                movea.l    A6, [A7 + 0x22]
  8473. 000058A4  244C                     movea.l    A2, A4
  8474. 000058A6  1F3C 0001                move.b     -[A7], 0x1
  8475. 000058AA  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  8476. 000058AE  4EBA DB10                jsr        [PC - 0x24F0 /* 000033C0 */]
  8477. 000058B2  2648                     movea.l    A3, A0
  8478. 000058B4  2008                     move.l     D0, A0
  8479. 000058B6  584F                     addq.w     A7, 4
  8480. 000058B8  6700 00DE                beq        +0xE0 /* 00005998 */
  8481. 000058BC  2F0C                     move.l     -[A7], A4
  8482. 000058BE  4EAD DD40                jsr        [A5 - 0x22C0]
  8483. 000058C2  4267                     clr.w      -[A7]
  8484. 000058C4  4EAD DDA0                jsr        [A5 - 0x2260]
  8485. 000058C8  4267                     clr.w      -[A7]
  8486. 000058CA  2F3C C000 0200           move.l     -[A7], 0xC0000200
  8487. 000058D0  A8FD                     syscall    PrGlue
  8488. 000058D2  2F3C C800 0000           move.l     -[A7], 0xC8000000
  8489. 000058D8  A8FD                     syscall    PrGlue
  8490. 000058DA  2F3C BA00 0000           move.l     -[A7], 0xBA000000
  8491. 000058E0  A8FD                     syscall    PrGlue
  8492. 000058E2  301F                     move.w     D0, [A7]+
  8493. 000058E4  3600                     move.w     D3, D0
  8494. 000058E6  544F                     addq.w     A7, 2
  8495. 000058E8  6600 008C                bne        +0x8E /* 00005976 */
  8496. 000058EC  3004                     move.w     D0, D4
  8497. 000058EE  48C0                     ext.l      D0
  8498. 000058F0  5980                     subq.l     D0, 4
  8499. 000058F2  670A                     beq        +0xC /* 000058FE */
  8500. 000058F4  5380                     subq.l     D0, 1
  8501. 000058F6  6716                     beq        +0x18 /* 0000590E */
  8502. 000058F8  5380                     subq.l     D0, 1
  8503. 000058FA  6712                     beq        +0x14 /* 0000590E */
  8504. 000058FC  6078                     bra        +0x7A /* 00005976 */
  8505. label000058FE:
  8506. 000058FE  554F                     subq.w     A7, 2
  8507. 00005900  2F0B                     move.l     -[A7], A3
  8508. 00005902  2F3C 2A04 0484           move.l     -[A7], 0x2A040484
  8509. 00005908  A8FD                     syscall    PrGlue
  8510. 0000590A  101F                     move.b     D0, [A7]+
  8511. 0000590C  6068                     bra        +0x6A /* 00005976 */
  8512. label0000590E:
  8513. 0000590E  200E                     move.l     D0, A6
  8514. 00005910  670C                     beq        +0xE /* 0000591E */
  8515. 00005912  2F0E                     move.l     -[A7], A6
  8516. 00005914  2F0B                     move.l     -[A7], A3
  8517. 00005916  2F3C 5804 089C           move.l     -[A7], 0x5804089C
  8518. 0000591C  A8FD                     syscall    PrGlue
  8519. label0000591E:
  8520. 0000591E  2F0C                     move.l     -[A7], A4
  8521. 00005920  4EAD EA58                jsr        [A5 - 0x15A8]
  8522. 00005924  200E                     move.l     D0, A6
  8523. 00005926  584F                     addq.w     A7, 4
  8524. 00005928  6610                     bne        +0x12 /* 0000593A */
  8525. 0000592A  554F                     subq.w     A7, 2
  8526. 0000592C  2F0B                     move.l     -[A7], A3
  8527. 0000592E  2F3C 3204 0488           move.l     -[A7], 0x32040488
  8528. 00005934  A8FD                     syscall    PrGlue
  8529. 00005936  101F                     move.b     D0, [A7]+
  8530. 00005938  673C                     beq        +0x3E /* 00005976 */
  8531. label0000593A:
  8532. 0000593A  0C44 0006                cmpi.w     D4, 0x6
  8533. 0000593E  661C                     bne        +0x1E /* 0000595C */
  8534. 00005940  42A7                     clr.l      -[A7]
  8535. 00005942  42A7                     clr.l      -[A7]
  8536. 00005944  2F0B                     move.l     -[A7], A3
  8537. 00005946  3F2A 0168                move.w     -[A7], [A2 + 0x168]
  8538. 0000594A  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  8539. 0000594E  2F0C                     move.l     -[A7], A4
  8540. 00005950  4EAD DB80                jsr        [A5 - 0x2480]
  8541. 00005954  3600                     move.w     D3, D0
  8542. 00005956  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8543. 0000595A  601A                     bra        +0x1C /* 00005976 */
  8544. label0000595C:
  8545. 0000595C  2F2A 0144                move.l     -[A7], [A2 + 0x144]
  8546. 00005960  2F0B                     move.l     -[A7], A3
  8547. 00005962  3F2A 0168                move.w     -[A7], [A2 + 0x168]
  8548. 00005966  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  8549. 0000596A  2F0C                     move.l     -[A7], A4
  8550. 0000596C  4EAD DB7A                jsr        [A5 - 0x2486]
  8551. 00005970  3600                     move.w     D3, D0
  8552. 00005972  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8553. label00005976:
  8554. 00005976  2F3C D000 0000           move.l     -[A7], 0xD0000000
  8555. 0000597C  A8FD                     syscall    PrGlue
  8556. 0000597E  4A43                     tst.w      D3
  8557. 00005980  6712                     beq        +0x14 /* 00005994 */
  8558. 00005982  0C43 FF80                cmpi.w     D3, 0xFF80
  8559. 00005986  670C                     beq        +0xE /* 00005994 */
  8560. 00005988  3F03                     move.w     -[A7], D3
  8561. 0000598A  3F3C 0004                move.w     -[A7], 0x4
  8562. 0000598E  4EAD DE98                jsr        [A5 - 0x2168]
  8563. 00005992  584F                     addq.w     A7, 4
  8564. label00005994:
  8565. 00005994  4EAD DD48                jsr        [A5 - 0x22B8]
  8566. label00005998:
  8567. 00005998  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  8568. 0000599C  4E75                     rts
  8569. 0000599E  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  8570. 000059A2  4FEF FEF8                lea.l      A7, [A7 - 0x108]
  8571. 000059A6  246F 0124                movea.l    A2, [A7 + 0x124]
  8572. 000059AA  4A6D B48A                tst.w      [A5 - 0x4B76]
  8573. 000059AE  6604                     bne        +0x6 /* 000059B4 */
  8574. 000059B0  7000                     moveq.l    D0, 0x00
  8575. 000059B2  6004                     bra        +0x6 /* 000059B8 */
  8576. label000059B4:
  8577. 000059B4  4EAD F6B0                jsr        [A5 - 0x950]
  8578. label000059B8:
  8579. 000059B8  1A00                     move.b     D5, D0
  8580. 000059BA  7800                     moveq.l    D4, 0x00
  8581. 000059BC  200A                     move.l     D0, A2
  8582. 000059BE  660C                     bne        +0xE /* 000059CC */
  8583. 000059C0  7000                     moveq.l    D0, 0x00
  8584. 000059C2  4FEF 0108                lea.l      A7, [A7 + 0x108]
  8585. 000059C6  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  8586. 000059CA  4E75                     rts
  8587. label000059CC:
  8588. 000059CC  2F0A                     move.l     -[A7], A2
  8589. 000059CE  4EAD DD40                jsr        [A5 - 0x22C0]
  8590. 000059D2  4A6D B48A                tst.w      [A5 - 0x4B76]
  8591. 000059D6  584F                     addq.w     A7, 4
  8592. 000059D8  670C                     beq        +0xE /* 000059E6 */
  8593. 000059DA  2F0A                     move.l     -[A7], A2
  8594. 000059DC  4EAD F670                jsr        [A5 - 0x990]
  8595. 000059E0  2008                     move.l     D0, A0
  8596. 000059E2  584F                     addq.w     A7, 4
  8597. 000059E4  6604                     bne        +0x6 /* 000059EA */
  8598. label000059E6:
  8599. 000059E6  7000                     moveq.l    D0, 0x00
  8600. 000059E8  6002                     bra        +0x4 /* 000059EC */
  8601. label000059EA:
  8602. 000059EA  7001                     moveq.l    D0, 0x01
  8603. label000059EC:
  8604. 000059EC  2C00                     move.l     D6, D0
  8605. 000059EE  4A6D B48A                tst.w      [A5 - 0x4B76]
  8606. 000059F2  6700 00B2                beq        +0xB4 /* 00005AA6 */
  8607. 000059F6  4A86                     tst.l      D6
  8608. 000059F8  660E                     bne        +0x10 /* 00005A08 */
  8609. 000059FA  0C05 0003                cmpi.b     D5, 0x3
  8610. 000059FE  6708                     beq        +0xA /* 00005A08 */
  8611. 00005A00  0C05 0006                cmpi.b     D5, 0x6
  8612. 00005A04  6600 00A0                bne        +0xA2 /* 00005AA6 */
  8613. label00005A08:
  8614. 00005A08  4A86                     tst.l      D6
  8615. 00005A0A  6704                     beq        +0x6 /* 00005A10 */
  8616. 00005A0C  0044 01F0                ori.w      D4, 0x1F0
  8617. label00005A10:
  8618. 00005A10  4A86                     tst.l      D6
  8619. 00005A12  6604                     bne        +0x6 /* 00005A18 */
  8620. 00005A14  7003                     moveq.l    D0, 0x03
  8621. 00005A16  6002                     bra        +0x4 /* 00005A1A */
  8622. label00005A18:
  8623. 00005A18  7002                     moveq.l    D0, 0x02
  8624. label00005A1A:
  8625. 00005A1A  1F00                     move.b     -[A7], D0
  8626. 00005A1C  2F2D 8822                move.l     -[A7], [A5 - 0x77DE]
  8627. 00005A20  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  8628. 00005A24  42A7                     clr.l      -[A7]
  8629. 00005A26  4EAD E148                jsr        [A5 - 0x1EB8]
  8630. 00005A2A  7000                     moveq.l    D0, 0x00
  8631. 00005A2C  1005                     move.b     D0, D5
  8632. 00005A2E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8633. 00005A32  0C80 0000 0006           cmpi.l     D0, 0x6
  8634. 00005A38  6232                     bhi        +0x34 /* 00005A6C */
  8635. 00005A3A  D040                     add.w      D0, D0
  8636. 00005A3C  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  8637. 00005A40  4EFB 0002                jmp        [PC + D0.w + 0x2]
  8638. 00005A44  000E 0012                ori.b      A6, 0x12
  8639. 00005A48  0016 001A                ori.b      [A6], 0x1A
  8640. 00005A4C  001E 0022                ori.b      [A6]+, 0x22 /* '\"' */
  8641. 00005A50  0026 760C                ori.b      -[A6], 0xC
  8642. 00005A54  6016                     bra        +0x18 /* 00005A6C */
  8643. 00005A56  760D                     moveq.l    D3, 0x0D
  8644. 00005A58  6012                     bra        +0x14 /* 00005A6C */
  8645. 00005A5A  760E                     moveq.l    D3, 0x0E
  8646. 00005A5C  600E                     bra        +0x10 /* 00005A6C */
  8647. 00005A5E  760F                     moveq.l    D3, 0x0F
  8648. 00005A60  600A                     bra        +0xC /* 00005A6C */
  8649. 00005A62  7610                     moveq.l    D3, 0x10
  8650. 00005A64  6006                     bra        +0x8 /* 00005A6C */
  8651. 00005A66  7611                     moveq.l    D3, 0x11
  8652. 00005A68  6002                     bra        +0x4 /* 00005A6C */
  8653. 00005A6A  7612                     moveq.l    D3, 0x12
  8654. label00005A6C:
  8655. 00005A6C  486F 0008                pea.l      [A7 + 0x8]
  8656. 00005A70  302D 135E                move.w     D0, [A5 + 0x135E]
  8657. 00005A74  48C0                     ext.l      D0
  8658. 00005A76  0680 0000 0081           addi.l     D0, 0x81
  8659. 00005A7C  3F00                     move.w     -[A7], D0
  8660. 00005A7E  3F03                     move.w     -[A7], D3
  8661. 00005A80  4EAD DA4E                jsr        [A5 - 0x25B2]
  8662. 00005A84  486F 0008                pea.l      [A7 + 0x8]
  8663. 00005A88  2F2D 883A                move.l     -[A7], [A5 - 0x77C6]
  8664. 00005A8C  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  8665. 00005A90  42A7                     clr.l      -[A7]
  8666. 00005A92  4EAD E110                jsr        [A5 - 0x1EF0]
  8667. 00005A96  0C43 000C                cmpi.w     D3, 0xC
  8668. 00005A9A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8669. 00005A9E  6770                     beq        +0x72 /* 00005B10 */
  8670. 00005AA0  0044 0008                ori.w      D4, 0x8
  8671. 00005AA4  606A                     bra        +0x6C /* 00005B10 */
  8672. label00005AA6:
  8673. 00005AA6  4EAD DFB0                jsr        [A5 - 0x2050]
  8674. 00005AAA  B5C8                     cmpa.l     A2, A0
  8675. 00005AAC  664A                     bne        +0x4C /* 00005AF8 */
  8676. 00005AAE  2F0A                     move.l     -[A7], A2
  8677. 00005AB0  4EAD EA48                jsr        [A5 - 0x15B8]
  8678. 00005AB4  584F                     addq.w     A7, 4
  8679. 00005AB6  2F00                     move.l     -[A7], D0
  8680. 00005AB8  2F0A                     move.l     -[A7], A2
  8681. 00005ABA  4EBA A90E                jsr        [PC - 0x56F2 /* 000003CA */]
  8682. 00005ABE  3800                     move.w     D4, D0
  8683. 00005AC0  4A44                     tst.w      D4
  8684. 00005AC2  504F                     addq.w     A7, 8
  8685. 00005AC4  6634                     bne        +0x36 /* 00005AFA */
  8686. 00005AC6  4AAD B650                tst.l      [A5 - 0x49B0]
  8687. 00005ACA  672E                     beq        +0x30 /* 00005AFA */
  8688. 00005ACC  2F0A                     move.l     -[A7], A2
  8689. 00005ACE  4EAD EA20                jsr        [A5 - 0x15E0]
  8690. 00005AD2  2648                     movea.l    A3, A0
  8691. 00005AD4  200B                     move.l     D0, A3
  8692. 00005AD6  584F                     addq.w     A7, 4
  8693. 00005AD8  6720                     beq        +0x22 /* 00005AFA */
  8694. 00005ADA  486F 0004                pea.l      [A7 + 0x4]
  8695. 00005ADE  486F 0004                pea.l      [A7 + 0x4]
  8696. 00005AE2  42A7                     clr.l      -[A7]
  8697. 00005AE4  2F0B                     move.l     -[A7], A3
  8698. 00005AE6  4EAD E5B0                jsr        [A5 - 0x1A50]
  8699. 00005AEA  4A80                     tst.l      D0
  8700. 00005AEC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8701. 00005AF0  6708                     beq        +0xA /* 00005AFA */
  8702. 00005AF2  0044 0020                ori.w      D4, 0x20 /* ' ' */
  8703. 00005AF6  6002                     bra        +0x4 /* 00005AFA */
  8704. label00005AF8:
  8705. 00005AF8  7800                     moveq.l    D4, 0x00
  8706. label00005AFA:
  8707. 00005AFA  1F3C 0003                move.b     -[A7], 0x3
  8708. 00005AFE  2F2D 8822                move.l     -[A7], [A5 - 0x77DE]
  8709. 00005B02  2F2D 883E                move.l     -[A7], [A5 - 0x77C2]
  8710. 00005B06  42A7                     clr.l      -[A7]
  8711. 00005B08  4EAD E148                jsr        [A5 - 0x1EB8]
  8712. 00005B0C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8713. label00005B10:
  8714. 00005B10  4EAD DD48                jsr        [A5 - 0x22B8]
  8715. 00005B14  3004                     move.w     D0, D4
  8716. 00005B16  4FEF 0108                lea.l      A7, [A7 + 0x108]
  8717. 00005B1A  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  8718. 00005B1E  4E75                     rts
  8719. 00005B20  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  8720. 00005B24  514F                     subq.w     A7, 8
  8721. 00005B26  246F 0020                movea.l    A2, [A7 + 0x20]
  8722. 00005B2A  3A2F 0024                move.w     D5, [A7 + 0x24]
  8723. 00005B2E  7600                     moveq.l    D3, 0x00
  8724. 00005B30  4A6D B48A                tst.w      [A5 - 0x4B76]
  8725. 00005B34  6604                     bne        +0x6 /* 00005B3A */
  8726. 00005B36  7000                     moveq.l    D0, 0x00
  8727. 00005B38  6004                     bra        +0x6 /* 00005B3E */
  8728. label00005B3A:
  8729. 00005B3A  4EAD F6B0                jsr        [A5 - 0x950]
  8730. label00005B3E:
  8731. 00005B3E  1800                     move.b     D4, D0
  8732. 00005B40  2F0A                     move.l     -[A7], A2
  8733. 00005B42  4EAD DD40                jsr        [A5 - 0x22C0]
  8734. 00005B46  4A6D B48A                tst.w      [A5 - 0x4B76]
  8735. 00005B4A  584F                     addq.w     A7, 4
  8736. 00005B4C  671C                     beq        +0x1E /* 00005B6A */
  8737. 00005B4E  2F0A                     move.l     -[A7], A2
  8738. 00005B50  4EAD F670                jsr        [A5 - 0x990]
  8739. 00005B54  2008                     move.l     D0, A0
  8740. 00005B56  584F                     addq.w     A7, 4
  8741. 00005B58  660C                     bne        +0xE /* 00005B66 */
  8742. 00005B5A  0C04 0003                cmpi.b     D4, 0x3
  8743. 00005B5E  6706                     beq        +0x8 /* 00005B66 */
  8744. 00005B60  0C04 0006                cmpi.b     D4, 0x6
  8745. 00005B64  6604                     bne        +0x6 /* 00005B6A */
  8746. label00005B66:
  8747. 00005B66  7601                     moveq.l    D3, 0x01
  8748. 00005B68  6028                     bra        +0x2A /* 00005B92 */
  8749. label00005B6A:
  8750. 00005B6A  2F0A                     move.l     -[A7], A2
  8751. 00005B6C  4EAD EA20                jsr        [A5 - 0x15E0]
  8752. 00005B70  2648                     movea.l    A3, A0
  8753. 00005B72  200B                     move.l     D0, A3
  8754. 00005B74  584F                     addq.w     A7, 4
  8755. 00005B76  671A                     beq        +0x1C /* 00005B92 */
  8756. 00005B78  486F 0004                pea.l      [A7 + 0x4]
  8757. 00005B7C  486F 0004                pea.l      [A7 + 0x4]
  8758. 00005B80  42A7                     clr.l      -[A7]
  8759. 00005B82  2F0B                     move.l     -[A7], A3
  8760. 00005B84  4EAD E5B0                jsr        [A5 - 0x1A50]
  8761. 00005B88  4A80                     tst.l      D0
  8762. 00005B8A  4FEF 0010                lea.l      A7, [A7 + 0x10]
  8763. 00005B8E  6702                     beq        +0x4 /* 00005B92 */
  8764. 00005B90  7601                     moveq.l    D3, 0x01
  8765. label00005B92:
  8766. 00005B92  4A83                     tst.l      D3
  8767. 00005B94  6710                     beq        +0x12 /* 00005BA6 */
  8768. 00005B96  3005                     move.w     D0, D5
  8769. 00005B98  48C0                     ext.l      D0
  8770. 00005B9A  2F00                     move.l     -[A7], D0
  8771. 00005B9C  2F0A                     move.l     -[A7], A2
  8772. 00005B9E  4EAD EA50                jsr        [A5 - 0x15B0]
  8773. 00005BA2  504F                     addq.w     A7, 8
  8774. 00005BA4  602C                     bra        +0x2E /* 00005BD2 */
  8775. label00005BA6:
  8776. 00005BA6  3005                     move.w     D0, D5
  8777. 00005BA8  48C0                     ext.l      D0
  8778. 00005BAA  2F00                     move.l     -[A7], D0
  8779. 00005BAC  2F0A                     move.l     -[A7], A2
  8780. 00005BAE  4EAD E420                jsr        [A5 - 0x1BE0]
  8781. 00005BB2  4A80                     tst.l      D0
  8782. 00005BB4  504F                     addq.w     A7, 8
  8783. 00005BB6  661A                     bne        +0x1C /* 00005BD2 */
  8784. 00005BB8  3005                     move.w     D0, D5
  8785. 00005BBA  48C0                     ext.l      D0
  8786. 00005BBC  2F00                     move.l     -[A7], D0
  8787. 00005BBE  2F0A                     move.l     -[A7], A2
  8788. 00005BC0  4EAD EA48                jsr        [A5 - 0x15B8]
  8789. 00005BC4  584F                     addq.w     A7, 4
  8790. 00005BC6  2F00                     move.l     -[A7], D0
  8791. 00005BC8  2F0A                     move.l     -[A7], A2
  8792. 00005BCA  4EBA A8AC                jsr        [PC - 0x5754 /* 00000478 */]
  8793. 00005BCE  4FEF 000C                lea.l      A7, [A7 + 0xC]
  8794. label00005BD2:
  8795. 00005BD2  4EAD E968                jsr        [A5 - 0x1698]
  8796. 00005BD6  4EAD DD48                jsr        [A5 - 0x22B8]
  8797. 00005BDA  504F                     addq.w     A7, 8
  8798. 00005BDC  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  8799. 00005BE0  4E75                     rts
  8800. 00005BE2  2F0A                     move.l     -[A7], A2
  8801. 00005BE4  4A6D B48A                tst.w      [A5 - 0x4B76]
  8802. 00005BE8  6618                     bne        +0x1A /* 00005C02 */
  8803. 00005BEA  302D 135E                move.w     D0, [A5 + 0x135E]
  8804. 00005BEE  48C0                     ext.l      D0
  8805. 00005BF0  0680 0000 008A           addi.l     D0, 0x8A
  8806. 00005BF6  3F00                     move.w     -[A7], D0
  8807. 00005BF8  4EAD DB62                jsr        [A5 - 0x249E]
  8808. 00005BFC  4A80                     tst.l      D0
  8809. 00005BFE  544F                     addq.w     A7, 2
  8810. 00005C00  675C                     beq        +0x5E /* 00005C5E */
  8811. label00005C02:
  8812. 00005C02  302D B48A                move.w     D0, [A5 - 0x4B76]
  8813. 00005C06  57C0                     seq        D0
  8814. 00005C08  4400                     neg.b      D0
  8815. 00005C0A  4880                     ext.w      D0
  8816. 00005C0C  48C0                     ext.l      D0
  8817. 00005C0E  3B40 B48A                move.w     [A5 - 0x4B76], D0
  8818. 00005C12  594F                     subq.w     A7, 4
  8819. 00005C14  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  8820. 00005C18  4E90                     jsr        [A0]
  8821. 00005C1A  205F                     movea.l    A0, [A7]+
  8822. 00005C1C  2448                     movea.l    A2, A0
  8823. 00005C1E  6020                     bra        +0x22 /* 00005C40 */
  8824. label00005C20:
  8825. 00005C20  302A 006C                move.w     D0, [A2 + 0x6C]
  8826. 00005C24  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  8827. 00005C28  6612                     bne        +0x14 /* 00005C3C */
  8828. 00005C2A  2F0A                     move.l     -[A7], A2
  8829. 00005C2C  4EAD DD40                jsr        [A5 - 0x22C0]
  8830. 00005C30  2F0A                     move.l     -[A7], A2
  8831. 00005C32  4EAD EA60                jsr        [A5 - 0x15A0]
  8832. 00005C36  4EAD DD48                jsr        [A5 - 0x22B8]
  8833. 00005C3A  504F                     addq.w     A7, 8
  8834. label00005C3C:
  8835. 00005C3C  246A 0090                movea.l    A2, [A2 + 0x90]
  8836. label00005C40:
  8837. 00005C40  200A                     move.l     D0, A2
  8838. 00005C42  66DC                     bne        -0x22 /* 00005C20 */
  8839. 00005C44  4A6D B48A                tst.w      [A5 - 0x4B76]
  8840. 00005C48  6614                     bne        +0x16 /* 00005C5E */
  8841. 00005C4A  302D 135E                move.w     D0, [A5 + 0x135E]
  8842. 00005C4E  48C0                     ext.l      D0
  8843. 00005C50  0680 0000 008A           addi.l     D0, 0x8A
  8844. 00005C56  3F00                     move.w     -[A7], D0
  8845. 00005C58  4EAD DB68                jsr        [A5 - 0x2498]
  8846. 00005C5C  544F                     addq.w     A7, 2
  8847. label00005C5E:
  8848. 00005C5E  245F                     movea.l    A2, [A7]+
  8849. 00005C60  4E75                     rts
  8850. 00005C62  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  8851. 00005C66  4FEF FFCC                lea.l      A7, [A7 - 0x34]
  8852. 00005C6A  286F 004C                movea.l    A4, [A7 + 0x4C]
  8853. 00005C6E  97CB                     sub.l      A3, A3
  8854. 00005C70  486F 000C                pea.l      [A7 + 0xC]
  8855. 00005C74  486F 002C                pea.l      [A7 + 0x2C]
  8856. 00005C78  2F0C                     move.l     -[A7], A4
  8857. 00005C7A  4EAD EA28                jsr        [A5 - 0x15D8]
  8858. 00005C7E  2F2F 0018                move.l     -[A7], [A7 + 0x18]
  8859. 00005C82  2F0C                     move.l     -[A7], A4
  8860. 00005C84  4EAD DACC                jsr        [A5 - 0x2534]
  8861. 00005C88  2448                     movea.l    A2, A0
  8862. 00005C8A  2008                     move.l     D0, A0
  8863. 00005C8C  4FEF 0014                lea.l      A7, [A7 + 0x14]
  8864. 00005C90  6614                     bne        +0x16 /* 00005CA6 */
  8865. 00005C92  2F3C 0003 FF94           move.l     -[A7], 0x3FF94
  8866. 00005C98  4EAD DE98                jsr        [A5 - 0x2168]
  8867. 00005C9C  4FEF 0038                lea.l      A7, [A7 + 0x38]
  8868. 00005CA0  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  8869. 00005CA4  4E75                     rts
  8870. label00005CA6:
  8871. 00005CA6  4AAF 0028                tst.l      [A7 + 0x28]
  8872. 00005CAA  6700 0094                beq        +0x96 /* 00005D40 */
  8873. 00005CAE  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  8874. 00005CB2  2F0C                     move.l     -[A7], A4
  8875. 00005CB4  4EAD DACC                jsr        [A5 - 0x2534]
  8876. 00005CB8  2648                     movea.l    A3, A0
  8877. 00005CBA  200B                     move.l     D0, A3
  8878. 00005CBC  504F                     addq.w     A7, 8
  8879. 00005CBE  6618                     bne        +0x1A /* 00005CD8 */
  8880. 00005CC0  2F0A                     move.l     -[A7], A2
  8881. 00005CC2  A8F5                     syscall    KillPicture
  8882. 00005CC4  2F3C 0003 FF94           move.l     -[A7], 0x3FF94
  8883. 00005CCA  4EAD DE98                jsr        [A5 - 0x2168]
  8884. 00005CCE  4FEF 0038                lea.l      A7, [A7 + 0x38]
  8885. 00005CD2  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  8886. 00005CD6  4E75                     rts
  8887. label00005CD8:
  8888. 00005CD8  2052                     movea.l    A0, [A2]
  8889. 00005CDA  2F68 0002 0018           move.l     [A7 + 0x18], [A0 + 0x2]
  8890. 00005CE0  2F68 0006 001C           move.l     [A7 + 0x1C], [A0 + 0x6]
  8891. 00005CE6  2053                     movea.l    A0, [A3]
  8892. 00005CE8  2F68 0002 0010           move.l     [A7 + 0x10], [A0 + 0x2]
  8893. 00005CEE  2F68 0006 0014           move.l     [A7 + 0x14], [A0 + 0x6]
  8894. 00005CF4  486F 0018                pea.l      [A7 + 0x18]
  8895. 00005CF8  486F 0014                pea.l      [A7 + 0x14]
  8896. 00005CFC  486F 0028                pea.l      [A7 + 0x28]
  8897. 00005D00  A8AB                     syscall    UnionRect
  8898. 00005D02  2F0C                     move.l     -[A7], A4
  8899. 00005D04  4EAD DD40                jsr        [A5 - 0x22C0]
  8900. 00005D08  486F 0024                pea.l      [A7 + 0x24]
  8901. 00005D0C  4EAD DD50                jsr        [A5 - 0x22B0]
  8902. 00005D10  486F 0028                pea.l      [A7 + 0x28]
  8903. 00005D14  A8F3                     syscall    OpenPicture
  8904. 00005D16  205F                     movea.l    A0, [A7]+
  8905. 00005D18  2C48                     movea.l    A6, A0
  8906. 00005D1A  2F0B                     move.l     -[A7], A3
  8907. 00005D1C  486F 0018                pea.l      [A7 + 0x18]
  8908. 00005D20  A8F6                     syscall    DrawPicture
  8909. 00005D22  2F0A                     move.l     -[A7], A2
  8910. 00005D24  486F 0020                pea.l      [A7 + 0x20]
  8911. 00005D28  A8F6                     syscall    DrawPicture
  8912. 00005D2A  A8F4                     syscall    ClosePicture
  8913. 00005D2C  4EAD DD58                jsr        [A5 - 0x22A8]
  8914. 00005D30  4EAD DD48                jsr        [A5 - 0x22B8]
  8915. 00005D34  2F0B                     move.l     -[A7], A3
  8916. 00005D36  A8F5                     syscall    KillPicture
  8917. 00005D38  2F0A                     move.l     -[A7], A2
  8918. 00005D3A  A8F5                     syscall    KillPicture
  8919. 00005D3C  244E                     movea.l    A2, A6
  8920. 00005D3E  584F                     addq.w     A7, 4
  8921. label00005D40:
  8922. 00005D40  2F0C                     move.l     -[A7], A4
  8923. 00005D42  4EAD DD40                jsr        [A5 - 0x22C0]
  8924. 00005D46  2F6D B638 0008           move.l     [A7 + 0x8], [A5 - 0x49C8]
  8925. 00005D4C  2F6D B63C 000C           move.l     [A7 + 0xC], [A5 - 0x49C4]
  8926. 00005D52  2052                     movea.l    A0, [A2]
  8927. 00005D54  2F68 0002 0030           move.l     [A7 + 0x30], [A0 + 0x2]
  8928. 00005D5A  2F68 0006 0034           move.l     [A7 + 0x34], [A0 + 0x6]
  8929. 00005D60  42AF 0004                clr.l      [A7 + 0x4]
  8930. 00005D64  486F 0008                pea.l      [A7 + 0x8]
  8931. 00005D68  4EAD DD50                jsr        [A5 - 0x22B0]
  8932. 00005D6C  526F 003A                addq.w     [A7 + 0x3A], 1
  8933. 00005D70  526F 0038                addq.w     [A7 + 0x38], 1
  8934. 00005D74  486F 0034                pea.l      [A7 + 0x34]
  8935. 00005D78  A8F3                     syscall    OpenPicture
  8936. 00005D7A  205F                     movea.l    A0, [A7]+
  8937. 00005D7C  2648                     movea.l    A3, A0
  8938. 00005D7E  2052                     movea.l    A0, [A2]
  8939. 00005D80  2F68 0002 0030           move.l     [A7 + 0x30], [A0 + 0x2]
  8940. 00005D86  2F68 0006 0034           move.l     [A7 + 0x34], [A0 + 0x6]
  8941. 00005D8C  2F0A                     move.l     -[A7], A2
  8942. 00005D8E  486F 0034                pea.l      [A7 + 0x34]
  8943. 00005D92  A8F6                     syscall    DrawPicture
  8944. 00005D94  42A7                     clr.l      -[A7]
  8945. 00005D96  486F 0008                pea.l      [A7 + 0x8]
  8946. 00005D9A  2F0C                     move.l     -[A7], A4
  8947. 00005D9C  4EAD E3F8                jsr        [A5 - 0x1C08]
  8948. 00005DA0  A8F4                     syscall    ClosePicture
  8949. 00005DA2  2F0A                     move.l     -[A7], A2
  8950. 00005DA4  A8F5                     syscall    KillPicture
  8951. 00005DA6  244B                     movea.l    A2, A3
  8952. 00005DA8  4EAD DD58                jsr        [A5 - 0x22A8]
  8953. 00005DAC  A9FC                     syscall    ZeroScrap
  8954. 00005DAE  201F                     move.l     D0, [A7]+
  8955. 00005DB0  204A                     movea.l    A0, A2
  8956. 00005DB2  A029                     syscall    HLock
  8957. 00005DB4  594F                     subq.w     A7, 4
  8958. 00005DB6  2F0A                     move.l     -[A7], A2
  8959. 00005DB8  4EAD D9AC                jsr        [A5 - 0x2654]
  8960. 00005DBC  201F                     move.l     D0, [A7]+
  8961. 00005DBE  2F00                     move.l     -[A7], D0
  8962. 00005DC0  2F3C 5049 4354           move.l     -[A7], 0x50494354 /* 'PICT' */
  8963. 00005DC6  2F12                     move.l     -[A7], [A2]
  8964. 00005DC8  A9FE                     syscall    PutScrap
  8965. 00005DCA  201F                     move.l     D0, [A7]+
  8966. 00005DCC  3600                     move.w     D3, D0
  8967. 00005DCE  2F0A                     move.l     -[A7], A2
  8968. 00005DD0  A8F5                     syscall    KillPicture
  8969. 00005DD2  4A43                     tst.w      D3
  8970. 00005DD4  504F                     addq.w     A7, 8
  8971. 00005DD6  670C                     beq        +0xE /* 00005DE4 */
  8972. 00005DD8  3F03                     move.w     -[A7], D3
  8973. 00005DDA  3F3C 0003                move.w     -[A7], 0x3
  8974. 00005DDE  4EAD DE98                jsr        [A5 - 0x2168]
  8975. 00005DE2  584F                     addq.w     A7, 4
  8976. label00005DE4:
  8977. 00005DE4  4EAD DD48                jsr        [A5 - 0x22B8]
  8978. 00005DE8  4FEF 0034                lea.l      A7, [A7 + 0x34]
  8979. 00005DEC  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  8980. 00005DF0  4E75                     rts
  8981. 00005DF2  48E7 1030                movem.l    -[A7], D3,A2,A3
  8982. 00005DF6  594F                     subq.w     A7, 4
  8983. 00005DF8  266F 0014                movea.l    A3, [A7 + 0x14]
  8984. 00005DFC  244B                     movea.l    A2, A3
  8985. 00005DFE  4297                     clr.l      [A7]
  8986. 00005E00  2F0B                     move.l     -[A7], A3
  8987. 00005E02  4EAD DD40                jsr        [A5 - 0x22C0]
  8988. 00005E06  3F3C 0004                move.w     -[A7], 0x4
  8989. 00005E0A  4EAD DDA0                jsr        [A5 - 0x2260]
  8990. 00005E0E  486F 0004                pea.l      [A7 + 0x4]
  8991. 00005E12  2F2A 0144                move.l     -[A7], [A2 + 0x144]
  8992. 00005E16  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  8993. 00005E1A  4EAD E1F8                jsr        [A5 - 0x1E08]
  8994. 00005E1E  3600                     move.w     D3, D0
  8995. 00005E20  4FEF 000E                lea.l      A7, [A7 + 0xE]
  8996. 00005E24  6650                     bne        +0x52 /* 00005E76 */
  8997. 00005E26  4A97                     tst.l      [A7]
  8998. 00005E28  674C                     beq        +0x4E /* 00005E76 */
  8999. 00005E2A  4AAF 0018                tst.l      [A7 + 0x18]
  9000. 00005E2E  670C                     beq        +0xE /* 00005E3C */
  9001. 00005E30  2F17                     move.l     -[A7], [A7]
  9002. 00005E32  4EAD DBD4                jsr        [A5 - 0x242C]
  9003. 00005E36  3600                     move.w     D3, D0
  9004. 00005E38  584F                     addq.w     A7, 4
  9005. 00005E3A  6036                     bra        +0x38 /* 00005E72 */
  9006. label00005E3C:
  9007. 00005E3C  594F                     subq.w     A7, 4
  9008. 00005E3E  A9FC                     syscall    ZeroScrap
  9009. 00005E40  201F                     move.l     D0, [A7]+
  9010. 00005E42  594F                     subq.w     A7, 4
  9011. 00005E44  594F                     subq.w     A7, 4
  9012. 00005E46  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  9013. 00005E4A  4EAD D9AC                jsr        [A5 - 0x2654]
  9014. 00005E4E  201F                     move.l     D0, [A7]+
  9015. 00005E50  2F00                     move.l     -[A7], D0
  9016. 00005E52  2F3C 5445 5854           move.l     -[A7], 0x54455854 /* 'TEXT' */
  9017. 00005E58  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  9018. 00005E5C  4EAD DD80                jsr        [A5 - 0x2280]
  9019. 00005E60  584F                     addq.w     A7, 4
  9020. 00005E62  2F08                     move.l     -[A7], A0
  9021. 00005E64  A9FE                     syscall    PutScrap
  9022. 00005E66  201F                     move.l     D0, [A7]+
  9023. 00005E68  3600                     move.w     D3, D0
  9024. 00005E6A  2F17                     move.l     -[A7], [A7]
  9025. 00005E6C  4EAD DD88                jsr        [A5 - 0x2278]
  9026. 00005E70  584F                     addq.w     A7, 4
  9027. label00005E72:
  9028. 00005E72  2057                     movea.l    A0, [A7]
  9029. 00005E74  A023                     syscall    DisposHandle/DisposeHandle
  9030. label00005E76:
  9031. 00005E76  4A43                     tst.w      D3
  9032. 00005E78  670C                     beq        +0xE /* 00005E86 */
  9033. 00005E7A  3F03                     move.w     -[A7], D3
  9034. 00005E7C  3F3C 0003                move.w     -[A7], 0x3
  9035. 00005E80  4EAD DE98                jsr        [A5 - 0x2168]
  9036. 00005E84  584F                     addq.w     A7, 4
  9037. label00005E86:
  9038. 00005E86  4EAD DD48                jsr        [A5 - 0x22B8]
  9039. 00005E8A  584F                     addq.w     A7, 4
  9040. 00005E8C  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  9041. 00005E90  4E75                     rts
  9042. 00005E92  2F0A                     move.l     -[A7], A2
  9043. 00005E94  246F 0008                movea.l    A2, [A7 + 0x8]
  9044. 00005E98  4878 0002                push.l     0x2
  9045. 00005E9C  4878 0100                push.l     0x100
  9046. 00005EA0  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  9047. 00005EA4  2F2A 0148                move.l     -[A7], [A2 + 0x148]
  9048. 00005EA8  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  9049. 00005EAC  4EAD E1B8                jsr        [A5 - 0x1E48]
  9050. 00005EB0  4A80                     tst.l      D0
  9051. 00005EB2  4FEF 0012                lea.l      A7, [A7 + 0x12]
  9052. 00005EB6  6710                     beq        +0x12 /* 00005EC8 */
  9053. 00005EB8  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  9054. 00005EBC  4EAD DA78                jsr        [A5 - 0x2588]
  9055. 00005EC0  7001                     moveq.l    D0, 0x01
  9056. 00005EC2  584F                     addq.w     A7, 4
  9057. 00005EC4  245F                     movea.l    A2, [A7]+
  9058. 00005EC6  4E75                     rts
  9059. label00005EC8:
  9060. 00005EC8  7000                     moveq.l    D0, 0x00
  9061. 00005ECA  245F                     movea.l    A2, [A7]+
  9062. 00005ECC  4E75                     rts
  9063. 00005ECE  48E7 1038                movem.l    -[A7], D3,A2,A3,A4
  9064. 00005ED2  4FEF FFEE                lea.l      A7, [A7 - 0x12]
  9065. 00005ED6  246F 0026                movea.l    A2, [A7 + 0x26]
  9066. 00005EDA  262F 002E                move.l     D3, [A7 + 0x2E]
  9067. 00005EDE  42AF 0004                clr.l      [A7 + 0x4]
  9068. 00005EE2  264A                     movea.l    A3, A2
  9069. 00005EE4  2843                     movea.l    A4, D3
  9070. 00005EE6  70FF                     moveq.l    D0, 0xFFFFFFFF
  9071. 00005EE8  2F40 000E                move.l     [A7 + 0xE], D0
  9072. 00005EEC  42AF 000A                clr.l      [A7 + 0xA]
  9073. 00005EF0  3F7C FFFF 0008           move.w     [A7 + 0x8], 0xFFFF
  9074. 00005EF6  2F0A                     move.l     -[A7], A2
  9075. 00005EF8  4EAD DD40                jsr        [A5 - 0x22C0]
  9076. 00005EFC  202F 002E                move.l     D0, [A7 + 0x2E]
  9077. 00005F00  584F                     addq.w     A7, 4
  9078. 00005F02  4EAD D916                jsr        [A5 - 0x26EA]
  9079. 00005F06  018C                     bclr       A4, D0
  9080. 00005F08  0000 0001                ori.b      D0, 0x1
  9081. 00005F0C  0000 0201                ori.b      D0, 0x1
  9082. 00005F10  0007 0000                ori.b      D7, 0x0
  9083. 00005F14  0001 00A4                ori.b      D1, 0xA4
  9084. 00005F18  0000 0002                ori.b      D0, 0x2
  9085. 00005F1C  013C 0000                btst       0x0, D0
  9086. 00005F20  0004 00CE                ori.b      D4, 0xCE
  9087. 00005F24  0000 0005                ori.b      D0, 0x5
  9088. 00005F28  00AC 0000 0101 0068      ori.l      [A4 + 0x68], 0x101
  9089. 00005F30  0000 0102                ori.b      D0, 0x2
  9090. 00005F34  00F0 0000                ori.?      [A0 + D0.w], 0xFFFFFFFFFFFFFFFF
  9091. 00005F38  0105                     btst       D5, D0
  9092. 00005F3A  0008 0000                ori.b      A0, 0x0
  9093. 00005F3E  0201 0028                andi.b     D1, 0x28 /* '(' */
  9094. 00005F42  4878 0001                push.l     0x1
  9095. 00005F46  486F 000C                pea.l      [A7 + 0xC]
  9096. 00005F4A  486F 0012                pea.l      [A7 + 0x12]
  9097. 00005F4E  3F2B 0166                move.w     -[A7], [A3 + 0x166]
  9098. 00005F52  2F03                     move.l     -[A7], D3
  9099. 00005F54  42A7                     clr.l      -[A7]
  9100. 00005F56  2F0A                     move.l     -[A7], A2
  9101. 00005F58  4EBA 11D2                jsr        [PC + 0x11D2 /* 0000712C */]
  9102. 00005F5C  2F40 0028                move.l     [A7 + 0x28], D0
  9103. 00005F60  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  9104. 00005F64  6000 012C                bra        +0x12E /* 00006092 */
  9105. 00005F68  2843                     movea.l    A4, D3
  9106. 00005F6A  42A7                     clr.l      -[A7]
  9107. 00005F6C  486F 000C                pea.l      [A7 + 0xC]
  9108. 00005F70  486F 0012                pea.l      [A7 + 0x12]
  9109. 00005F74  3F2B 0166                move.w     -[A7], [A3 + 0x166]
  9110. 00005F78  486C 0003                pea.l      [A4 + 0x3]
  9111. 00005F7C  7000                     moveq.l    D0, 0x00
  9112. 00005F7E  102C 0002                move.b     D0, [A4 + 0x2]
  9113. 00005F82  2F00                     move.l     -[A7], D0
  9114. 00005F84  2F0A                     move.l     -[A7], A2
  9115. 00005F86  4EBA 11A4                jsr        [PC + 0x11A4 /* 0000712C */]
  9116. 00005F8A  2F40 0028                move.l     [A7 + 0x28], D0
  9117. 00005F8E  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  9118. 00005F92  6000 00FE                bra        +0x100 /* 00006092 */
  9119. 00005F96  42A7                     clr.l      -[A7]
  9120. 00005F98  486F 000C                pea.l      [A7 + 0xC]
  9121. 00005F9C  486F 0012                pea.l      [A7 + 0x12]
  9122. 00005FA0  3F2B 0166                move.w     -[A7], [A3 + 0x166]
  9123. 00005FA4  2F03                     move.l     -[A7], D3
  9124. 00005FA6  42A7                     clr.l      -[A7]
  9125. 00005FA8  2F0A                     move.l     -[A7], A2
  9126. 00005FAA  4EBA 1180                jsr        [PC + 0x1180 /* 0000712C */]
  9127. 00005FAE  2F40 0028                move.l     [A7 + 0x28], D0
  9128. 00005FB2  4FEF 001A                lea.l      A7, [A7 + 0x1A]
  9129. 00005FB6  6000 00DA                bra        +0xDC /* 00006092 */
  9130. 00005FBA  486F 000A                pea.l      [A7 + 0xA]
  9131. 00005FBE  486F 0012                pea.l      [A7 + 0x12]
  9132. 00005FC2  2F03                     move.l     -[A7], D3
  9133. 00005FC4  3F2B 0166                move.w     -[A7], [A3 + 0x166]
  9134. 00005FC8  4EAD E220                jsr        [A5 - 0x1DE0]
  9135. 00005FCC  4FEF 000E                lea.l      A7, [A7 + 0xE]
  9136. 00005FD0  6000 00C0                bra        +0xC2 /* 00006092 */
  9137. 00005FD4  486B 00E6                pea.l      [A3 + 0xE6]
  9138. 00005FD8  486B 00E2                pea.l      [A3 + 0xE2]
  9139. 00005FDC  2F03                     move.l     -[A7], D3
  9140. 00005FDE  3F2B 0166                move.w     -[A7], [A3 + 0x166]
  9141. 00005FE2  4EAD E220                jsr        [A5 - 0x1DE0]
  9142. 00005FE6  95CA                     sub.l      A2, A2
  9143. 00005FE8  4FEF 000E                lea.l      A7, [A7 + 0xE]
  9144. 00005FEC  6000 00A4                bra        +0xA6 /* 00006092 */
  9145. 00005FF0  2F0A                     move.l     -[A7], A2
  9146. 00005FF2  206D 133A                movea.l    A0, [A5 + 0x133A /* export_611 */]
  9147. 00005FF6  4E90                     jsr        [A0]
  9148. 00005FF8  486F 0002                pea.l      [A7 + 0x2]
  9149. 00005FFC  486F 0004                pea.l      [A7 + 0x4]
  9150. 00006000  4EAD E340                jsr        [A5 - 0x1CC0]
  9151. 00006004  4267                     clr.w      -[A7]
  9152. 00006006  302F 000A                move.w     D0, [A7 + 0xA]
  9153. 0000600A  48C0                     ext.l      D0
  9154. 0000600C  306F 000C                movea.w    A0, [A7 + 0xC]
  9155. 00006010  2208                     move.l     D1, A0
  9156. 00006012  7410                     moveq.l    D2, 0x10
  9157. 00006014  E5A9                     lsl        D1, D2
  9158. 00006016  8280                     or.l       D1, D0
  9159. 00006018  2F01                     move.l     -[A7], D1
  9160. 0000601A  4EAD E338                jsr        [A5 - 0x1CC8]
  9161. 0000601E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  9162. 00006022  606E                     bra        +0x70 /* 00006092 */
  9163. 00006024  2643                     movea.l    A3, D3
  9164. 00006026  554F                     subq.w     A7, 2
  9165. 00006028  2F0B                     move.l     -[A7], A3
  9166. 0000602A  486F 000A                pea.l      [A7 + 0xA]
  9167. 0000602E  204B                     movea.l    A0, A3
  9168. 00006030  70FF                     moveq.l    D0, 0xFFFFFFFF
  9169. label00006032:
  9170. 00006032  5280                     addq.l     D0, 1
  9171. 00006034  4A18                     tst.b      [A0]+
  9172. 00006036  66FA                     bne        -0x4 /* 00006032 */
  9173. 00006038  5280                     addq.l     D0, 1
  9174. 0000603A  2F00                     move.l     -[A7], D0
  9175. 0000603C  4EAD DA36                jsr        [A5 - 0x25CA]
  9176. 00006040  301F                     move.w     D0, [A7]+
  9177. 00006042  664E                     bne        +0x50 /* 00006092 */
  9178. 00006044  42A7                     clr.l      -[A7]
  9179. 00006046  4227                     clr.b      -[A7]
  9180. 00006048  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  9181. 0000604C  2F0A                     move.l     -[A7], A2
  9182. 0000604E  4EAD E978                jsr        [A5 - 0x1688]
  9183. 00006052  4FEF 000E                lea.l      A7, [A7 + 0xE]
  9184. 00006056  603A                     bra        +0x3C /* 00006092 */
  9185. 00006058  200A                     move.l     D0, A2
  9186. 0000605A  6708                     beq        +0xA /* 00006064 */
  9187. 0000605C  2F0A                     move.l     -[A7], A2
  9188. 0000605E  4EBA E386                jsr        [PC - 0x1C7A /* 000043E6 */]
  9189. 00006062  584F                     addq.w     A7, 4
  9190. label00006064:
  9191. 00006064  594F                     subq.w     A7, 4
  9192. 00006066  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  9193. 0000606A  4E90                     jsr        [A0]
  9194. 0000606C  205F                     movea.l    A0, [A7]+
  9195. 0000606E  2448                     movea.l    A2, A0
  9196. 00006070  600E                     bra        +0x10 /* 00006080 */
  9197. label00006072:
  9198. 00006072  302A 006C                move.w     D0, [A2 + 0x6C]
  9199. 00006076  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  9200. 0000607A  6708                     beq        +0xA /* 00006084 */
  9201. 0000607C  246A 0090                movea.l    A2, [A2 + 0x90]
  9202. label00006080:
  9203. 00006080  200A                     move.l     D0, A2
  9204. 00006082  66EE                     bne        -0x10 /* 00006072 */
  9205. label00006084:
  9206. 00006084  200A                     move.l     D0, A2
  9207. 00006086  6704                     beq        +0x6 /* 0000608C */
  9208. 00006088  95CA                     sub.l      A2, A2
  9209. 0000608A  6006                     bra        +0x8 /* 00006092 */
  9210. label0000608C:
  9211. 0000608C  4267                     clr.w      -[A7]
  9212. 0000608E  4EAD DF88                jsr        [A5 - 0x2078]
  9213. label00006092:
  9214. 00006092  200A                     move.l     D0, A2
  9215. 00006094  6760                     beq        +0x62 /* 000060F6 */
  9216. 00006096  2F0A                     move.l     -[A7], A2
  9217. 00006098  4EAD DD40                jsr        [A5 - 0x22C0]
  9218. 0000609C  4AAF 0012                tst.l      [A7 + 0x12]
  9219. 000060A0  584F                     addq.w     A7, 4
  9220. 000060A2  6D42                     blt        +0x44 /* 000060E6 */
  9221. 000060A4  302F 0008                move.w     D0, [A7 + 0x8]
  9222. 000060A8  48C0                     ext.l      D0
  9223. 000060AA  4A80                     tst.l      D0
  9224. 000060AC  6D1C                     blt        +0x1E /* 000060CA */
  9225. 000060AE  42A7                     clr.l      -[A7]
  9226. 000060B0  42A7                     clr.l      -[A7]
  9227. 000060B2  42A7                     clr.l      -[A7]
  9228. 000060B4  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  9229. 000060B8  3F2F 0018                move.w     -[A7], [A7 + 0x18]
  9230. 000060BC  2F0A                     move.l     -[A7], A2
  9231. 000060BE  4EAD FF20                jsr        [A5 - 0xE0]
  9232. 000060C2  2448                     movea.l    A2, A0
  9233. 000060C4  4FEF 0016                lea.l      A7, [A7 + 0x16]
  9234. 000060C8  601C                     bra        +0x1E /* 000060E6 */
  9235. label000060CA:
  9236. 000060CA  42A7                     clr.l      -[A7]
  9237. 000060CC  42A7                     clr.l      -[A7]
  9238. 000060CE  2F2F 0012                move.l     -[A7], [A7 + 0x12]
  9239. 000060D2  2F2F 001A                move.l     -[A7], [A7 + 0x1A]
  9240. 000060D6  2F0A                     move.l     -[A7], A2
  9241. 000060D8  4EAD E9E0                jsr        [A5 - 0x1620]
  9242. 000060DC  4A40                     tst.w      D0
  9243. 000060DE  4FEF 0014                lea.l      A7, [A7 + 0x14]
  9244. 000060E2  6702                     beq        +0x4 /* 000060E6 */
  9245. 000060E4  95CA                     sub.l      A2, A2
  9246. label000060E6:
  9247. 000060E6  4EAD DD48                jsr        [A5 - 0x22B8]
  9248. 000060EA  200A                     move.l     D0, A2
  9249. 000060EC  6708                     beq        +0xA /* 000060F6 */
  9250. 000060EE  2F0A                     move.l     -[A7], A2
  9251. 000060F0  206D 133E                movea.l    A0, [A5 + 0x133E]
  9252. 000060F4  4E90                     jsr        [A0]
  9253. label000060F6:
  9254. 000060F6  4EAD E968                jsr        [A5 - 0x1698]
  9255. 000060FA  4EAD DD48                jsr        [A5 - 0x22B8]
  9256. 000060FE  4AAF 0004                tst.l      [A7 + 0x4]
  9257. 00006102  6706                     beq        +0x8 /* 0000610A */
  9258. 00006104  206F 0004                movea.l    A0, [A7 + 0x4]
  9259. 00006108  A023                     syscall    DisposHandle/DisposeHandle
  9260. label0000610A:
  9261. 0000610A  4FEF 0012                lea.l      A7, [A7 + 0x12]
  9262. 0000610E  4CDF 1C08                movem.l    D3,A2,A3,A4, [A7]+
  9263. 00006112  4E75                     rts
  9264. 00006114  514F                     subq.w     A7, 8
  9265. 00006116  2EAF 000C                move.l     [A7], [A7 + 0xC]
  9266. 0000611A  2F2F 0010                move.l     -[A7], [A7 + 0x10]
  9267. 0000611E  206F 0004                movea.l    A0, [A7 + 0x4]
  9268. 00006122  3F28 0166                move.w     -[A7], [A0 + 0x166]
  9269. 00006126  4EBA 00B4                jsr        [PC + 0xB4 /* 000061DC */]
  9270. 0000612A  2F48 000A                move.l     [A7 + 0xA], A0
  9271. 0000612E  2008                     move.l     D0, A0
  9272. 00006130  5C4F                     addq.w     A7, 6
  9273. 00006132  6708                     beq        +0xA /* 0000613C */
  9274. 00006134  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  9275. 00006138  4EAD DF80                jsr        [A5 - 0x2080]
  9276. label0000613C:
  9277. 0000613C  504F                     addq.w     A7, 8
  9278. 0000613E  4E75                     rts
  9279. 00006140  48E7 0038                movem.l    -[A7], A2,A3,A4
  9280. 00006144  514F                     subq.w     A7, 8
  9281. 00006146  266F 0018                movea.l    A3, [A7 + 0x18]
  9282. 0000614A  2F2F 0020                move.l     -[A7], [A7 + 0x20]
  9283. 0000614E  3F2B 0166                move.w     -[A7], [A3 + 0x166]
  9284. 00006152  4EBA 0088                jsr        [PC + 0x88 /* 000061DC */]
  9285. 00006156  2448                     movea.l    A2, A0
  9286. 00006158  2008                     move.l     D0, A0
  9287. 0000615A  5C4F                     addq.w     A7, 6
  9288. 0000615C  6738                     beq        +0x3A /* 00006196 */
  9289. 0000615E  284A                     movea.l    A4, A2
  9290. 00006160  4857                     pea.l      [A7]
  9291. 00006162  2F0B                     move.l     -[A7], A3
  9292. 00006164  4EBA 099E                jsr        [PC + 0x99E /* 00006B04 */]
  9293. 00006168  486F 0008                pea.l      [A7 + 0x8]
  9294. 0000616C  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  9295. 00006170  2F0C                     move.l     -[A7], A4
  9296. 00006172  4EBA 0A6C                jsr        [PC + 0xA6C /* 00006BE0 */]
  9297. 00006176  4A80                     tst.l      D0
  9298. 00006178  4FEF 0014                lea.l      A7, [A7 + 0x14]
  9299. 0000617C  6718                     beq        +0x1A /* 00006196 */
  9300. 0000617E  2F0A                     move.l     -[A7], A2
  9301. 00006180  4EAD DD40                jsr        [A5 - 0x22C0]
  9302. 00006184  1F3C 0001                move.b     -[A7], 0x1
  9303. 00006188  2F0A                     move.l     -[A7], A2
  9304. 0000618A  4EBA 0C40                jsr        [PC + 0xC40 /* 00006DCC */]
  9305. 0000618E  4EAD DD48                jsr        [A5 - 0x22B8]
  9306. 00006192  4FEF 000A                lea.l      A7, [A7 + 0xA]
  9307. label00006196:
  9308. 00006196  504F                     addq.w     A7, 8
  9309. 00006198  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  9310. 0000619C  4E75                     rts
  9311. 0000619E  2F0A                     move.l     -[A7], A2
  9312. 000061A0  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  9313. 000061A4  246F 0014                movea.l    A2, [A7 + 0x14]
  9314. 000061A8  4857                     pea.l      [A7]
  9315. 000061AA  486F 0008                pea.l      [A7 + 0x8]
  9316. 000061AE  486F 0010                pea.l      [A7 + 0x10]
  9317. 000061B2  4227                     clr.b      -[A7]
  9318. 000061B4  2F2F 0022                move.l     -[A7], [A7 + 0x22]
  9319. 000061B8  4EAD E9C0                jsr        [A5 - 0x1640]
  9320. 000061BC  2F2F 0016                move.l     -[A7], [A7 + 0x16]
  9321. 000061C0  2F2F 001E                move.l     -[A7], [A7 + 0x1E]
  9322. 000061C4  2F2A 0144                move.l     -[A7], [A2 + 0x144]
  9323. 000061C8  2F2F 0036                move.l     -[A7], [A7 + 0x36]
  9324. 000061CC  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  9325. 000061D0  4EBA D466                jsr        [PC - 0x2B9A /* 00003638 */]
  9326. 000061D4  4FEF 0030                lea.l      A7, [A7 + 0x30]
  9327. 000061D8  245F                     movea.l    A2, [A7]+
  9328. 000061DA  4E75                     rts
  9329. fn000061DC:
  9330. 000061DC  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  9331. 000061E0  382F 0014                move.w     D4, [A7 + 0x14]
  9332. 000061E4  262F 0016                move.l     D3, [A7 + 0x16]
  9333. 000061E8  594F                     subq.w     A7, 4
  9334. 000061EA  2EB8 09D6                move.l     [A7], [0x000009D6 /* WindowList */]
  9335. 000061EE  205F                     movea.l    A0, [A7]+
  9336. 000061F0  2648                     movea.l    A3, A0
  9337. 000061F2  6030                     bra        +0x32 /* 00006224 */
  9338. label000061F4:
  9339. 000061F4  302B 006C                move.w     D0, [A3 + 0x6C]
  9340. 000061F8  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  9341. 000061FC  6622                     bne        +0x24 /* 00006220 */
  9342. 000061FE  244B                     movea.l    A2, A3
  9343. 00006200  4A2A 016A                tst.b      [A2 + 0x16A]
  9344. 00006204  6708                     beq        +0xA /* 0000620E */
  9345. 00006206  0C2A 0002 016A           cmpi.b     [A2 + 0x16A], 0x2
  9346. 0000620C  6612                     bne        +0x14 /* 00006220 */
  9347. label0000620E:
  9348. 0000620E  B86A 0166                cmp.w      D4, [A2 + 0x166]
  9349. 00006212  660C                     bne        +0xE /* 00006220 */
  9350. 00006214  B6AA 0148                cmp.l      D3, [A2 + 0x148]
  9351. 00006218  6606                     bne        +0x8 /* 00006220 */
  9352. 0000621A  4AAA 0134                tst.l      [A2 + 0x134]
  9353. 0000621E  6608                     bne        +0xA /* 00006228 */
  9354. label00006220:
  9355. 00006220  266B 0090                movea.l    A3, [A3 + 0x90]
  9356. label00006224:
  9357. 00006224  200B                     move.l     D0, A3
  9358. 00006226  66CC                     bne        -0x32 /* 000061F4 */
  9359. label00006228:
  9360. 00006228  204B                     movea.l    A0, A3
  9361. 0000622A  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  9362. 0000622E  4E75                     rts
  9363. fn00006230:
  9364. 00006230  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  9365. 00006234  262F 001C                move.l     D3, [A7 + 0x1C]
  9366. 00006238  282F 0020                move.l     D4, [A7 + 0x20]
  9367. 0000623C  2C6F 0024                movea.l    A6, [A7 + 0x24]
  9368. 00006240  286F 0028                movea.l    A4, [A7 + 0x28]
  9369. 00006244  266F 002C                movea.l    A3, [A7 + 0x2C]
  9370. 00006248  2443                     movea.l    A2, D3
  9371. 0000624A  4A84                     tst.l      D4
  9372. 0000624C  6D16                     blt        +0x18 /* 00006264 */
  9373. 0000624E  2F04                     move.l     -[A7], D4
  9374. 00006250  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  9375. 00006254  4EBA FF86                jsr        [PC - 0x7A /* 000061DC */]
  9376. 00006258  2608                     move.l     D3, A0
  9377. 0000625A  4A83                     tst.l      D3
  9378. 0000625C  5C4F                     addq.w     A7, 6
  9379. 0000625E  6700 0084                beq        +0x86 /* 000062E4 */
  9380. 00006262  2443                     movea.l    A2, D3
  9381. label00006264:
  9382. 00006264  4AAF 0030                tst.l      [A7 + 0x30]
  9383. 00006268  673E                     beq        +0x40 /* 000062A8 */
  9384. 0000626A  200C                     move.l     D0, A4
  9385. 0000626C  6710                     beq        +0x12 /* 0000627E */
  9386. 0000626E  7001                     moveq.l    D0, 0x01
  9387. 00006270  2540 0100                move.l     [A2 + 0x100], D0
  9388. 00006274  2554 00FA                move.l     [A2 + 0xFA], [A4]
  9389. 00006278  356C 0004 00FE           move.w     [A2 + 0xFE], [A4 + 0x4]
  9390. label0000627E:
  9391. 0000627E  200B                     move.l     D0, A3
  9392. 00006280  6710                     beq        +0x12 /* 00006292 */
  9393. 00006282  7001                     moveq.l    D0, 0x01
  9394. 00006284  2540 010A                move.l     [A2 + 0x10A], D0
  9395. 00006288  2553 0104                move.l     [A2 + 0x104], [A3]
  9396. 0000628C  356B 0004 0108           move.w     [A2 + 0x108], [A3 + 0x4]
  9397. label00006292:
  9398. 00006292  200E                     move.l     D0, A6
  9399. 00006294  674E                     beq        +0x50 /* 000062E4 */
  9400. 00006296  7001                     moveq.l    D0, 0x01
  9401. 00006298  2540 0114                move.l     [A2 + 0x114], D0
  9402. 0000629C  2556 010E                move.l     [A2 + 0x10E], [A6]
  9403. 000062A0  356E 0004 0112           move.w     [A2 + 0x112], [A6 + 0x4]
  9404. 000062A6  603C                     bra        +0x3E /* 000062E4 */
  9405. label000062A8:
  9406. 000062A8  4AAA 0100                tst.l      [A2 + 0x100]
  9407. 000062AC  670E                     beq        +0x10 /* 000062BC */
  9408. 000062AE  200C                     move.l     D0, A4
  9409. 000062B0  670A                     beq        +0xC /* 000062BC */
  9410. 000062B2  28AA 00FA                move.l     [A4], [A2 + 0xFA]
  9411. 000062B6  396A 00FE 0004           move.w     [A4 + 0x4], [A2 + 0xFE]
  9412. label000062BC:
  9413. 000062BC  4AAA 010A                tst.l      [A2 + 0x10A]
  9414. 000062C0  670E                     beq        +0x10 /* 000062D0 */
  9415. 000062C2  200B                     move.l     D0, A3
  9416. 000062C4  670A                     beq        +0xC /* 000062D0 */
  9417. 000062C6  26AA 0104                move.l     [A3], [A2 + 0x104]
  9418. 000062CA  376A 0108 0004           move.w     [A3 + 0x4], [A2 + 0x108]
  9419. label000062D0:
  9420. 000062D0  4AAA 0114                tst.l      [A2 + 0x114]
  9421. 000062D4  670E                     beq        +0x10 /* 000062E4 */
  9422. 000062D6  200E                     move.l     D0, A6
  9423. 000062D8  670A                     beq        +0xC /* 000062E4 */
  9424. 000062DA  2CAA 010E                move.l     [A6], [A2 + 0x10E]
  9425. 000062DE  3D6A 0112 0004           move.w     [A6 + 0x4], [A2 + 0x112]
  9426. label000062E4:
  9427. 000062E4  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  9428. 000062E8  4E75                     rts
  9429. fn000062EA:
  9430. 000062EA  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  9431. 000062EE  266F 0020                movea.l    A3, [A7 + 0x20]
  9432. 000062F2  2A2F 0024                move.l     D5, [A7 + 0x24]
  9433. 000062F6  282F 0028                move.l     D4, [A7 + 0x28]
  9434. 000062FA  262F 002C                move.l     D3, [A7 + 0x2C]
  9435. 000062FE  2C6F 0030                movea.l    A6, [A7 + 0x30]
  9436. 00006302  286F 0034                movea.l    A4, [A7 + 0x34]
  9437. 00006306  244B                     movea.l    A2, A3
  9438. 00006308  4A85                     tst.l      D5
  9439. 0000630A  6D14                     blt        +0x16 /* 00006320 */
  9440. 0000630C  2F05                     move.l     -[A7], D5
  9441. 0000630E  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  9442. 00006312  4EBA FEC8                jsr        [PC - 0x138 /* 000061DC */]
  9443. 00006316  2648                     movea.l    A3, A0
  9444. 00006318  200B                     move.l     D0, A3
  9445. 0000631A  5C4F                     addq.w     A7, 6
  9446. 0000631C  673E                     beq        +0x40 /* 0000635C */
  9447. 0000631E  244B                     movea.l    A2, A3
  9448. label00006320:
  9449. 00006320  4AAF 0038                tst.l      [A7 + 0x38]
  9450. 00006324  671C                     beq        +0x1E /* 00006342 */
  9451. 00006326  7001                     moveq.l    D0, 0x01
  9452. 00006328  2540 0118                move.l     [A2 + 0x118], D0
  9453. 0000632C  2044                     movea.l    A0, D4
  9454. 0000632E  3550 0124                move.w     [A2 + 0x124], [A0]
  9455. 00006332  2043                     movea.l    A0, D3
  9456. 00006334  3550 0126                move.w     [A2 + 0x126], [A0]
  9457. 00006338  2556 011C                move.l     [A2 + 0x11C], [A6]
  9458. 0000633C  2554 0120                move.l     [A2 + 0x120], [A4]
  9459. 00006340  601A                     bra        +0x1C /* 0000635C */
  9460. label00006342:
  9461. 00006342  4AAA 0118                tst.l      [A2 + 0x118]
  9462. 00006346  6714                     beq        +0x16 /* 0000635C */
  9463. 00006348  2044                     movea.l    A0, D4
  9464. 0000634A  30AA 0124                move.w     [A0], [A2 + 0x124]
  9465. 0000634E  2043                     movea.l    A0, D3
  9466. 00006350  30AA 0126                move.w     [A0], [A2 + 0x126]
  9467. 00006354  2CAA 011C                move.l     [A6], [A2 + 0x11C]
  9468. 00006358  28AA 0120                move.l     [A4], [A2 + 0x120]
  9469. label0000635C:
  9470. 0000635C  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  9471. 00006360  4E75                     rts
  9472. 00006362  48E7 0030                movem.l    -[A7], A2,A3
  9473. 00006366  594F                     subq.w     A7, 4
  9474. 00006368  266F 0010                movea.l    A3, [A7 + 0x10]
  9475. 0000636C  2F2F 0014                move.l     -[A7], [A7 + 0x14]
  9476. 00006370  3F2B 0166                move.w     -[A7], [A3 + 0x166]
  9477. 00006374  4EBA FE66                jsr        [PC - 0x19A /* 000061DC */]
  9478. 00006378  2448                     movea.l    A2, A0
  9479. 0000637A  2008                     move.l     D0, A0
  9480. 0000637C  5C4F                     addq.w     A7, 6
  9481. 0000637E  674A                     beq        +0x4C /* 000063CA */
  9482. 00006380  202F 0024                move.l     D0, [A7 + 0x24]
  9483. 00006384  57C0                     seq        D0
  9484. 00006386  4400                     neg.b      D0
  9485. 00006388  4880                     ext.w      D0
  9486. 0000638A  48C0                     ext.l      D0
  9487. 0000638C  2E80                     move.l     [A7], D0
  9488. 0000638E  2F0A                     move.l     -[A7], A2
  9489. 00006390  4EAD DD40                jsr        [A5 - 0x22C0]
  9490. 00006394  4878 0001                push.l     0x1
  9491. 00006398  486F 0008                pea.l      [A7 + 0x8]
  9492. 0000639C  486F 0028                pea.l      [A7 + 0x28]
  9493. 000063A0  486F 002A                pea.l      [A7 + 0x2A]
  9494. 000063A4  486F 002C                pea.l      [A7 + 0x2C]
  9495. 000063A8  4878 FFFF                push.l     0xFFFF
  9496. 000063AC  2F0A                     move.l     -[A7], A2
  9497. 000063AE  4EBA FF3A                jsr        [PC - 0xC6 /* 000062EA */]
  9498. 000063B2  2F0A                     move.l     -[A7], A2
  9499. 000063B4  4EBA 11B8                jsr        [PC + 0x11B8 /* 0000756E */]
  9500. 000063B8  1F3C 0001                move.b     -[A7], 0x1
  9501. 000063BC  2F0B                     move.l     -[A7], A3
  9502. 000063BE  4EBA 0A0C                jsr        [PC + 0xA0C /* 00006DCC */]
  9503. 000063C2  4EAD DD48                jsr        [A5 - 0x22B8]
  9504. 000063C6  4FEF 002A                lea.l      A7, [A7 + 0x2A]
  9505. label000063CA:
  9506. 000063CA  584F                     addq.w     A7, 4
  9507. 000063CC  4CDF 0C00                movem.l    A2,A3, [A7]+
  9508. 000063D0  4E75                     rts
  9509. 000063D2  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  9510. 000063D6  4FEF FEB6                lea.l      A7, [A7 - 0x14A]
  9511. 000063DA  286F 0172                movea.l    A4, [A7 + 0x172]
  9512. 000063DE  266F 0162                movea.l    A3, [A7 + 0x162]
  9513. 000063E2  2F2F 0166                move.l     -[A7], [A7 + 0x166]
  9514. 000063E6  3F2B 0166                move.w     -[A7], [A3 + 0x166]
  9515. 000063EA  4EBA FDF0                jsr        [PC - 0x210 /* 000061DC */]
  9516. 000063EE  2C48                     movea.l    A6, A0
  9517. 000063F0  2008                     move.l     D0, A0
  9518. 000063F2  5C4F                     addq.w     A7, 6
  9519. 000063F4  6700 00E6                beq        +0xE8 /* 000064DC */
  9520. 000063F8  200C                     move.l     D0, A4
  9521. 000063FA  6700 0096                beq        +0x98 /* 00006492 */
  9522. 000063FE  2054                     movea.l    A0, [A4]
  9523. 00006400  4A10                     tst.b      [A0]
  9524. 00006402  6700 008E                beq        +0x90 /* 00006492 */
  9525. 00006406  7600                     moveq.l    D3, 0x00
  9526. 00006408  2F0C                     move.l     -[A7], A4
  9527. 0000640A  4EAD DD80                jsr        [A5 - 0x2280]
  9528. 0000640E  2448                     movea.l    A2, A0
  9529. 00006410  584F                     addq.w     A7, 4
  9530. 00006412  6002                     bra        +0x4 /* 00006416 */
  9531. label00006414:
  9532. 00006414  528A                     addq.l     A2, 1
  9533. label00006416:
  9534. 00006416  4A12                     tst.b      [A2]
  9535. 00006418  6718                     beq        +0x1A /* 00006432 */
  9536. 0000641A  7000                     moveq.l    D0, 0x00
  9537. 0000641C  1012                     move.b     D0, [A2]
  9538. 0000641E  206D 1B8C                movea.l    A0, [A5 + 0x1B8C]
  9539. 00006422  1030 0000                move.b     D0, [A0 + D0.w]
  9540. 00006426  7244                     moveq.l    D1, 0x44
  9541. 00006428  C081                     and.l      D0, D1
  9542. 0000642A  66E8                     bne        -0x16 /* 00006414 */
  9543. 0000642C  0C12 0021                cmpi.b     [A2], 0x21 /* '!' */
  9544. 00006430  67E2                     beq        -0x1C /* 00006414 */
  9545. label00006432:
  9546. 00006432  486F 0104                pea.l      [A7 + 0x104]
  9547. 00006436  2F2B 009E                move.l     -[A7], [A3 + 0x9E]
  9548. 0000643A  3F2B 009C                move.w     -[A7], [A3 + 0x9C]
  9549. 0000643E  2F0A                     move.l     -[A7], A2
  9550. 00006440  4EAD E478                jsr        [A5 - 0x1B88]
  9551. 00006444  3600                     move.w     D3, D0
  9552. 00006446  2F0C                     move.l     -[A7], A4
  9553. 00006448  4EAD DD88                jsr        [A5 - 0x2278]
  9554. 0000644C  4A43                     tst.w      D3
  9555. 0000644E  4FEF 0012                lea.l      A7, [A7 + 0x12]
  9556. 00006452  662C                     bne        +0x2E /* 00006480 */
  9557. 00006454  42A7                     clr.l      -[A7]
  9558. 00006456  42A7                     clr.l      -[A7]
  9559. 00006458  486F 0108                pea.l      [A7 + 0x108]
  9560. 0000645C  486F 0110                pea.l      [A7 + 0x110]
  9561. 00006460  4EAD DC2E                jsr        [A5 - 0x23D2]
  9562. 00006464  3600                     move.w     D3, D0
  9563. 00006466  4A43                     tst.w      D3
  9564. 00006468  4FEF 0010                lea.l      A7, [A7 + 0x10]
  9565. 0000646C  6612                     bne        +0x14 /* 00006480 */
  9566. 0000646E  4AAB 0128                tst.l      [A3 + 0x128]
  9567. 00006472  6706                     beq        +0x8 /* 0000647A */
  9568. 00006474  2F2B 0128                move.l     -[A7], [A3 + 0x128]
  9569. 00006478  A8F5                     syscall    KillPicture
  9570. label0000647A:
  9571. 0000647A  276F 0100 0128           move.l     [A3 + 0x128], [A7 + 0x100]
  9572. label00006480:
  9573. 00006480  4A43                     tst.w      D3
  9574. 00006482  6738                     beq        +0x3A /* 000064BC */
  9575. 00006484  3F03                     move.w     -[A7], D3
  9576. 00006486  3F3C 0001                move.w     -[A7], 0x1
  9577. 0000648A  4EAD DE98                jsr        [A5 - 0x2168]
  9578. 0000648E  584F                     addq.w     A7, 4
  9579. 00006490  602A                     bra        +0x2C /* 000064BC */
  9580. label00006492:
  9581. 00006492  4AAB 0128                tst.l      [A3 + 0x128]
  9582. 00006496  670A                     beq        +0xC /* 000064A2 */
  9583. 00006498  2F2B 0128                move.l     -[A7], [A3 + 0x128]
  9584. 0000649C  A8F5                     syscall    KillPicture
  9585. 0000649E  42AB 0128                clr.l      [A3 + 0x128]
  9586. label000064A2:
  9587. 000064A2  4878 0001                push.l     0x1
  9588. 000064A6  42A7                     clr.l      -[A7]
  9589. 000064A8  42A7                     clr.l      -[A7]
  9590. 000064AA  2F2F 017A                move.l     -[A7], [A7 + 0x17A]
  9591. 000064AE  4878 FFFF                push.l     0xFFFF
  9592. 000064B2  2F0E                     move.l     -[A7], A6
  9593. 000064B4  4EBA FD7A                jsr        [PC - 0x286 /* 00006230 */]
  9594. 000064B8  4FEF 0018                lea.l      A7, [A7 + 0x18]
  9595. label000064BC:
  9596. 000064BC  2F0E                     move.l     -[A7], A6
  9597. 000064BE  4EBA 10AE                jsr        [PC + 0x10AE /* 0000756E */]
  9598. 000064C2  206F 016E                movea.l    A0, [A7 + 0x16E]
  9599. 000064C6  2F10                     move.l     -[A7], [A0]
  9600. 000064C8  486F 0008                pea.l      [A7 + 0x8]
  9601. 000064CC  4EAD DDC8                jsr        [A5 - 0x2238]
  9602. 000064D0  2F0E                     move.l     -[A7], A6
  9603. 000064D2  486F 0010                pea.l      [A7 + 0x10]
  9604. 000064D6  A91A                     syscall    SetWTitle
  9605. 000064D8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9606. label000064DC:
  9607. 000064DC  4FEF 014A                lea.l      A7, [A7 + 0x14A]
  9608. 000064E0  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  9609. 000064E4  4E75                     rts
  9610. 000064E6  48E7 103A                movem.l    -[A7], D3,A2,A3,A4,A6
  9611. 000064EA  514F                     subq.w     A7, 8
  9612. 000064EC  2C6F 0028                movea.l    A6, [A7 + 0x28]
  9613. 000064F0  262F 002C                move.l     D3, [A7 + 0x2C]
  9614. 000064F4  266F 0020                movea.l    A3, [A7 + 0x20]
  9615. 000064F8  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  9616. 000064FC  3F2B 0166                move.w     -[A7], [A3 + 0x166]
  9617. 00006500  4EBA FCDA                jsr        [PC - 0x326 /* 000061DC */]
  9618. 00006504  2448                     movea.l    A2, A0
  9619. 00006506  2008                     move.l     D0, A0
  9620. 00006508  5C4F                     addq.w     A7, 6
  9621. 0000650A  674C                     beq        +0x4E /* 00006558 */
  9622. 0000650C  4A83                     tst.l      D3
  9623. 0000650E  6706                     beq        +0x8 /* 00006516 */
  9624. 00006510  284E                     movea.l    A4, A6
  9625. 00006512  97CB                     sub.l      A3, A3
  9626. 00006514  6004                     bra        +0x6 /* 0000651A */
  9627. label00006516:
  9628. 00006516  99CC                     sub.l      A4, A4
  9629. 00006518  264E                     movea.l    A3, A6
  9630. label0000651A:
  9631. 0000651A  4878 0001                push.l     0x1
  9632. 0000651E  2F0C                     move.l     -[A7], A4
  9633. 00006520  2F0B                     move.l     -[A7], A3
  9634. 00006522  42A7                     clr.l      -[A7]
  9635. 00006524  4878 FFFF                push.l     0xFFFF
  9636. 00006528  2F0A                     move.l     -[A7], A2
  9637. 0000652A  4EBA FD04                jsr        [PC - 0x2FC /* 00006230 */]
  9638. 0000652E  2F0A                     move.l     -[A7], A2
  9639. 00006530  4EAD DD40                jsr        [A5 - 0x22C0]
  9640. 00006534  4A83                     tst.l      D3
  9641. 00006536  6604                     bne        +0x6 /* 0000653C */
  9642. 00006538  7000                     moveq.l    D0, 0x00
  9643. 0000653A  6002                     bra        +0x4 /* 0000653E */
  9644. label0000653C:
  9645. 0000653C  7001                     moveq.l    D0, 0x01
  9646. label0000653E:
  9647. 0000653E  1F00                     move.b     -[A7], D0
  9648. 00006540  486F 001E                pea.l      [A7 + 0x1E]
  9649. 00006544  2F0A                     move.l     -[A7], A2
  9650. 00006546  4EAD EA38                jsr        [A5 - 0x15C8]
  9651. 0000654A  486F 0026                pea.l      [A7 + 0x26]
  9652. 0000654E  A928                     syscall    InvalRect
  9653. 00006550  4EAD DD48                jsr        [A5 - 0x22B8]
  9654. 00006554  4FEF 0026                lea.l      A7, [A7 + 0x26]
  9655. label00006558:
  9656. 00006558  504F                     addq.w     A7, 8
  9657. 0000655A  4CDF 5C08                movem.l    D3,A2,A3,A4,A6, [A7]+
  9658. 0000655E  4E75                     rts
  9659. 00006560  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  9660. 00006564  4FEF FFA8                lea.l      A7, [A7 - 0x58]
  9661. 00006568  266F 006C                movea.l    A3, [A7 + 0x6C]
  9662. 0000656C  262F 0070                move.l     D3, [A7 + 0x70]
  9663. 00006570  244B                     movea.l    A2, A3
  9664. 00006572  2F0B                     move.l     -[A7], A3
  9665. 00006574  4EAD DD40                jsr        [A5 - 0x22C0]
  9666. 00006578  4878 0058                push.l     0x58 /* 'X' */
  9667. 0000657C  42A7                     clr.l      -[A7]
  9668. 0000657E  486F 000C                pea.l      [A7 + 0xC]
  9669. 00006582  4EAD D94C                jsr        [A5 - 0x26B4]
  9670. 00006586  2F4B 0058                move.l     [A7 + 0x58], A3
  9671. 0000658A  2F03                     move.l     -[A7], D3
  9672. 0000658C  2F0A                     move.l     -[A7], A2
  9673. 0000658E  4EBA 0F38                jsr        [PC + 0xF38 /* 000074C8 */]
  9674. 00006592  2F40 006C                move.l     [A7 + 0x6C], D0
  9675. 00006596  0C83 4350 4E4C           cmpi.l     D3, 0x43504E4C /* 'CPNL' */
  9676. 0000659C  4FEF 0018                lea.l      A7, [A7 + 0x18]
  9677. 000065A0  660A                     bne        +0xC /* 000065AC */
  9678. 000065A2  4857                     pea.l      [A7]
  9679. 000065A4  4EBA 9B98                jsr        [PC - 0x6468 /* 0000013E */]
  9680. 000065A8  584F                     addq.w     A7, 4
  9681. 000065AA  6012                     bra        +0x14 /* 000065BE */
  9682. label000065AC:
  9683. 000065AC  0C83 544F 5043           cmpi.l     D3, 0x544F5043 /* 'TOPC' */
  9684. 000065B2  660A                     bne        +0xC /* 000065BE */
  9685. 000065B4  4857                     pea.l      [A7]
  9686. 000065B6  4EAD E9B8                jsr        [A5 - 0x1648]
  9687. 000065BA  584F                     addq.w     A7, 4
  9688. 000065BC  4E71                     nop
  9689. label000065BE:
  9690. 000065BE  594F                     subq.w     A7, 4
  9691. 000065C0  2F2A 0134                move.l     -[A7], [A2 + 0x134]
  9692. 000065C4  4EAD D9AC                jsr        [A5 - 0x2654]
  9693. 000065C8  201F                     move.l     D0, [A7]+
  9694. 000065CA  2600                     move.l     D3, D0
  9695. 000065CC  4857                     pea.l      [A7]
  9696. 000065CE  2F0A                     move.l     -[A7], A2
  9697. 000065D0  4EBA 02DC                jsr        [PC + 0x2DC /* 000068AE */]
  9698. 000065D4  3800                     move.w     D4, D0
  9699. 000065D6  504F                     addq.w     A7, 8
  9700. 000065D8  662A                     bne        +0x2C /* 00006604 */
  9701. 000065DA  2F2A 0134                move.l     -[A7], [A2 + 0x134]
  9702. 000065DE  4EAD DD80                jsr        [A5 - 0x2280]
  9703. 000065E2  D1C3                     add.l      A0, D3
  9704. 000065E4  2648                     movea.l    A3, A0
  9705. 000065E6  4227                     clr.b      -[A7]
  9706. 000065E8  2F0B                     move.l     -[A7], A3
  9707. 000065EA  206B 0028                movea.l    A0, [A3 + 0x28]
  9708. 000065EE  4E90                     jsr        [A0]
  9709. 000065F0  2F0B                     move.l     -[A7], A3
  9710. 000065F2  4EAD EA98                jsr        [A5 - 0x1568]
  9711. 000065F6  2F2A 0134                move.l     -[A7], [A2 + 0x134]
  9712. 000065FA  4EAD DD88                jsr        [A5 - 0x2278]
  9713. 000065FE  4FEF 0012                lea.l      A7, [A7 + 0x12]
  9714. 00006602  600C                     bra        +0xE /* 00006610 */
  9715. label00006604:
  9716. 00006604  3F04                     move.w     -[A7], D4
  9717. 00006606  3F3C 0002                move.w     -[A7], 0x2
  9718. 0000660A  4EAD DE98                jsr        [A5 - 0x2168]
  9719. 0000660E  584F                     addq.w     A7, 4
  9720. label00006610:
  9721. 00006610  4EAD DD48                jsr        [A5 - 0x22B8]
  9722. 00006614  4FEF 0058                lea.l      A7, [A7 + 0x58]
  9723. 00006618  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  9724. 0000661C  4E75                     rts
  9725. 0000661E  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  9726. 00006622  246F 001C                movea.l    A2, [A7 + 0x1C]
  9727. 00006626  2C2F 0020                move.l     D6, [A7 + 0x20]
  9728. 0000662A  7600                     moveq.l    D3, 0x00
  9729. 0000662C  2F2F 0024                move.l     -[A7], [A7 + 0x24]
  9730. 00006630  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  9731. 00006634  4EBA FBA6                jsr        [PC - 0x45A /* 000061DC */]
  9732. 00006638  2448                     movea.l    A2, A0
  9733. 0000663A  2008                     move.l     D0, A0
  9734. 0000663C  5C4F                     addq.w     A7, 6
  9735. 0000663E  6700 0080                beq        +0x82 /* 000066C0 */
  9736. 00006642  264A                     movea.l    A3, A2
  9737. 00006644  2F0A                     move.l     -[A7], A2
  9738. 00006646  4EAD DD40                jsr        [A5 - 0x22C0]
  9739. 0000664A  2F2B 0134                move.l     -[A7], [A3 + 0x134]
  9740. 0000664E  4EAD D9AC                jsr        [A5 - 0x2654]
  9741. 00006652  201F                     move.l     D0, [A7]+
  9742. 00006654  7258                     moveq.l    D1, 0x58
  9743. 00006656  4EAD D8FE                jsr        [A5 - 0x2702]
  9744. 0000665A  2800                     move.l     D4, D0
  9745. 0000665C  2A00                     move.l     D5, D0
  9746. 0000665E  2F2B 0134                move.l     -[A7], [A3 + 0x134]
  9747. 00006662  4EAD DD80                jsr        [A5 - 0x2280]
  9748. 00006666  2448                     movea.l    A2, A0
  9749. 00006668  7601                     moveq.l    D3, 0x01
  9750. 0000666A  584F                     addq.w     A7, 4
  9751. 0000666C  602E                     bra        +0x30 /* 0000669C */
  9752. label0000666E:
  9753. 0000666E  0CAA 544F 5043 004C      cmpi.l     [A2 + 0x4C], 0x544F5043 /* 'TOPC' */
  9754. 00006676  661E                     bne        +0x20 /* 00006696 */
  9755. 00006678  2F0A                     move.l     -[A7], A2
  9756. 0000667A  4EAD EAA0                jsr        [A5 - 0x1560]
  9757. 0000667E  BC80                     cmp.l      D6, D0
  9758. 00006680  584F                     addq.w     A7, 4
  9759. 00006682  6612                     bne        +0x14 /* 00006696 */
  9760. 00006684  2F04                     move.l     -[A7], D4
  9761. 00006686  2F03                     move.l     -[A7], D3
  9762. 00006688  2F0A                     move.l     -[A7], A2
  9763. 0000668A  4EBA 0E82                jsr        [PC + 0xE82 /* 0000750E */]
  9764. 0000668E  5385                     subq.l     D5, 1
  9765. 00006690  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9766. 00006694  6004                     bra        +0x6 /* 0000669A */
  9767. label00006696:
  9768. 00006696  7058                     moveq.l    D0, 0x58
  9769. 00006698  D5C0                     add.l      A2, D0
  9770. label0000669A:
  9771. 0000669A  5283                     addq.l     D3, 1
  9772. label0000669C:
  9773. 0000669C  B684                     cmp.l      D3, D4
  9774. 0000669E  6FCE                     ble        -0x30 /* 0000666E */
  9775. 000066A0  2F2B 0134                move.l     -[A7], [A3 + 0x134]
  9776. 000066A4  4EAD DD88                jsr        [A5 - 0x2278]
  9777. 000066A8  BA84                     cmp.l      D5, D4
  9778. 000066AA  584F                     addq.w     A7, 4
  9779. 000066AC  670E                     beq        +0x10 /* 000066BC */
  9780. 000066AE  2005                     move.l     D0, D5
  9781. 000066B0  7258                     moveq.l    D1, 0x58
  9782. 000066B2  4EAD D8F8                jsr        [A5 - 0x2708]
  9783. 000066B6  206B 0134                movea.l    A0, [A3 + 0x134]
  9784. 000066BA  A024                     syscall    SetHandleSize
  9785. label000066BC:
  9786. 000066BC  4EAD DD48                jsr        [A5 - 0x22B8]
  9787. label000066C0:
  9788. 000066C0  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  9789. 000066C4  4E75                     rts
  9790. 000066C6  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  9791. 000066CA  246F 001C                movea.l    A2, [A7 + 0x1C]
  9792. 000066CE  1C2F 0020                move.b     D6, [A7 + 0x20]
  9793. 000066D2  264A                     movea.l    A3, A2
  9794. 000066D4  2F0A                     move.l     -[A7], A2
  9795. 000066D6  4EAD DD40                jsr        [A5 - 0x22C0]
  9796. 000066DA  2F2B 0134                move.l     -[A7], [A3 + 0x134]
  9797. 000066DE  4EAD D9AC                jsr        [A5 - 0x2654]
  9798. 000066E2  201F                     move.l     D0, [A7]+
  9799. 000066E4  7258                     moveq.l    D1, 0x58
  9800. 000066E6  4EAD D8FE                jsr        [A5 - 0x2702]
  9801. 000066EA  2800                     move.l     D4, D0
  9802. 000066EC  2A00                     move.l     D5, D0
  9803. 000066EE  2F2B 0134                move.l     -[A7], [A3 + 0x134]
  9804. 000066F2  4EAD DD80                jsr        [A5 - 0x2280]
  9805. 000066F6  2448                     movea.l    A2, A0
  9806. 000066F8  7601                     moveq.l    D3, 0x01
  9807. 000066FA  584F                     addq.w     A7, 4
  9808. 000066FC  603C                     bra        +0x3E /* 0000673A */
  9809. label000066FE:
  9810. 000066FE  0CAA 544F 5043 004C      cmpi.l     [A2 + 0x4C], 0x544F5043 /* 'TOPC' */
  9811. 00006706  662C                     bne        +0x2E /* 00006734 */
  9812. 00006708  4AAA 0054                tst.l      [A2 + 0x54]
  9813. 0000670C  6726                     beq        +0x28 /* 00006734 */
  9814. 0000670E  2F0A                     move.l     -[A7], A2
  9815. 00006710  4EAD EA90                jsr        [A5 - 0x1570]
  9816. 00006714  7200                     moveq.l    D1, 0x00
  9817. 00006716  1200                     move.b     D1, D0
  9818. 00006718  7000                     moveq.l    D0, 0x00
  9819. 0000671A  1006                     move.b     D0, D6
  9820. 0000671C  C081                     and.l      D0, D1
  9821. 0000671E  584F                     addq.w     A7, 4
  9822. 00006720  6712                     beq        +0x14 /* 00006734 */
  9823. 00006722  2F04                     move.l     -[A7], D4
  9824. 00006724  2F03                     move.l     -[A7], D3
  9825. 00006726  2F0A                     move.l     -[A7], A2
  9826. 00006728  4EBA 0DE4                jsr        [PC + 0xDE4 /* 0000750E */]
  9827. 0000672C  5385                     subq.l     D5, 1
  9828. 0000672E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9829. 00006732  6004                     bra        +0x6 /* 00006738 */
  9830. label00006734:
  9831. 00006734  7058                     moveq.l    D0, 0x58
  9832. 00006736  D5C0                     add.l      A2, D0
  9833. label00006738:
  9834. 00006738  5283                     addq.l     D3, 1
  9835. label0000673A:
  9836. 0000673A  B684                     cmp.l      D3, D4
  9837. 0000673C  6FC0                     ble        -0x3E /* 000066FE */
  9838. 0000673E  2F2B 0134                move.l     -[A7], [A3 + 0x134]
  9839. 00006742  4EAD DD88                jsr        [A5 - 0x2278]
  9840. 00006746  BA84                     cmp.l      D5, D4
  9841. 00006748  584F                     addq.w     A7, 4
  9842. 0000674A  670E                     beq        +0x10 /* 0000675A */
  9843. 0000674C  2005                     move.l     D0, D5
  9844. 0000674E  7258                     moveq.l    D1, 0x58
  9845. 00006750  4EAD D8F8                jsr        [A5 - 0x2708]
  9846. 00006754  206B 0134                movea.l    A0, [A3 + 0x134]
  9847. 00006758  A024                     syscall    SetHandleSize
  9848. label0000675A:
  9849. 0000675A  4EAD DD48                jsr        [A5 - 0x22B8]
  9850. 0000675E  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  9851. 00006762  4E75                     rts
  9852. fn00006764:
  9853. 00006764  2F0A                     move.l     -[A7], A2
  9854. 00006766  594F                     subq.w     A7, 4
  9855. 00006768  4AAD 8D16                tst.l      [A5 - 0x72EA]
  9856. 0000676C  6724                     beq        +0x26 /* 00006792 */
  9857. 0000676E  A11A                     syscall    GetZone, flags=1
  9858. 00006770  2E88                     move.l     [A7], A0
  9859. 00006772  206D 8D16                movea.l    A0, [A5 - 0x72EA]
  9860. 00006776  A01B                     syscall    SetZone
  9861. 00006778  203C 0000 016C           move.l     D0, 0x16C
  9862. 0000677E  A31E                     syscall    NewPtrClear, flags=3
  9863. 00006780  2448                     movea.l    A2, A0
  9864. 00006782  2057                     movea.l    A0, [A7]
  9865. 00006784  A01B                     syscall    SetZone
  9866. 00006786  200A                     move.l     D0, A2
  9867. 00006788  6708                     beq        +0xA /* 00006792 */
  9868. 0000678A  204A                     movea.l    A0, A2
  9869. 0000678C  584F                     addq.w     A7, 4
  9870. 0000678E  245F                     movea.l    A2, [A7]+
  9871. 00006790  4E75                     rts
  9872. label00006792:
  9873. 00006792  203C 0000 016C           move.l     D0, 0x16C
  9874. 00006798  A31E                     syscall    NewPtrClear, flags=3
  9875. 0000679A  2448                     movea.l    A2, A0
  9876. 0000679C  2008                     move.l     D0, A0
  9877. 0000679E  6614                     bne        +0x16 /* 000067B4 */
  9878. 000067A0  554F                     subq.w     A7, 2
  9879. 000067A2  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  9880. 000067A6  301F                     move.w     D0, [A7]+
  9881. 000067A8  3F00                     move.w     -[A7], D0
  9882. 000067AA  3F3C 0002                move.w     -[A7], 0x2
  9883. 000067AE  4EAD DE98                jsr        [A5 - 0x2168]
  9884. 000067B2  584F                     addq.w     A7, 4
  9885. label000067B4:
  9886. 000067B4  204A                     movea.l    A0, A2
  9887. 000067B6  584F                     addq.w     A7, 4
  9888. 000067B8  245F                     movea.l    A2, [A7]+
  9889. 000067BA  4E75                     rts
  9890. fn000067BC:
  9891. 000067BC  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  9892. 000067C0  4FEF FFA8                lea.l      A7, [A7 - 0x58]
  9893. 000067C4  246F 006C                movea.l    A2, [A7 + 0x6C]
  9894. 000067C8  7000                     moveq.l    D0, 0x00
  9895. 000067CA  A122                     syscall    NewHandle, flags=1
  9896. 000067CC  2548 0134                move.l     [A2 + 0x134], A0
  9897. 000067D0  554F                     subq.w     A7, 2
  9898. 000067D2  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  9899. 000067D6  301F                     move.w     D0, [A7]+
  9900. 000067D8  3A00                     move.w     D5, D0
  9901. 000067DA  670C                     beq        +0xE /* 000067E8 */
  9902. 000067DC  3005                     move.w     D0, D5
  9903. 000067DE  4FEF 0058                lea.l      A7, [A7 + 0x58]
  9904. 000067E2  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  9905. 000067E6  4E75                     rts
  9906. label000067E8:
  9907. 000067E8  4A2A 016A                tst.b      [A2 + 0x16A]
  9908. 000067EC  6618                     bne        +0x1A /* 00006806 */
  9909. 000067EE  2F0A                     move.l     -[A7], A2
  9910. 000067F0  4EBA 0282                jsr        [PC + 0x282 /* 00006A74 */]
  9911. 000067F4  3A00                     move.w     D5, D0
  9912. 000067F6  584F                     addq.w     A7, 4
  9913. 000067F8  670C                     beq        +0xE /* 00006806 */
  9914. 000067FA  3005                     move.w     D0, D5
  9915. 000067FC  4FEF 0058                lea.l      A7, [A7 + 0x58]
  9916. 00006800  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  9917. 00006804  4E75                     rts
  9918. label00006806:
  9919. 00006806  7600                     moveq.l    D3, 0x00
  9920. 00006808  6000 0090                bra        +0x92 /* 0000689A */
  9921. label0000680C:
  9922. 0000680C  7800                     moveq.l    D4, 0x00
  9923. 0000680E  4878 0058                push.l     0x58 /* 'X' */
  9924. 00006812  42A7                     clr.l      -[A7]
  9925. 00006814  486F 0008                pea.l      [A7 + 0x8]
  9926. 00006818  4EAD D94C                jsr        [A5 - 0x26B4]
  9927. 0000681C  2F4A 0054                move.l     [A7 + 0x54], A2
  9928. 00006820  42AF 0060                clr.l      [A7 + 0x60]
  9929. 00006824  4FEF 000C                lea.l      A7, [A7 + 0xC]
  9930. 00006828  2003                     move.l     D0, D3
  9931. 0000682A  6708                     beq        +0xA /* 00006834 */
  9932. 0000682C  5380                     subq.l     D0, 1
  9933. 0000682E  6718                     beq        +0x1A /* 00006848 */
  9934. 00006830  4E71                     nop
  9935. 00006832  6052                     bra        +0x54 /* 00006886 */
  9936. label00006834:
  9937. 00006834  4A2A 016A                tst.b      [A2 + 0x16A]
  9938. 00006838  660A                     bne        +0xC /* 00006844 */
  9939. 0000683A  4857                     pea.l      [A7]
  9940. 0000683C  4EBA 9900                jsr        [PC - 0x6700 /* 0000013E */]
  9941. 00006840  584F                     addq.w     A7, 4
  9942. 00006842  6042                     bra        +0x44 /* 00006886 */
  9943. label00006844:
  9944. 00006844  7801                     moveq.l    D4, 0x01
  9945. 00006846  603E                     bra        +0x40 /* 00006886 */
  9946. label00006848:
  9947. 00006848  0C2A 0003 016A           cmpi.b     [A2 + 0x16A], 0x3
  9948. 0000684E  660A                     bne        +0xC /* 0000685A */
  9949. 00006850  4857                     pea.l      [A7]
  9950. 00006852  4EAD F498                jsr        [A5 - 0xB68]
  9951. 00006856  584F                     addq.w     A7, 4
  9952. 00006858  602C                     bra        +0x2E /* 00006886 */
  9953. label0000685A:
  9954. 0000685A  0C2A 0004 016A           cmpi.b     [A2 + 0x16A], 0x4
  9955. 00006860  660A                     bne        +0xC /* 0000686C */
  9956. 00006862  4857                     pea.l      [A7]
  9957. 00006864  4EAD FC98                jsr        [A5 - 0x368]
  9958. 00006868  584F                     addq.w     A7, 4
  9959. 0000686A  601A                     bra        +0x1C /* 00006886 */
  9960. label0000686C:
  9961. 0000686C  0C2A 0006 016A           cmpi.b     [A2 + 0x16A], 0x6
  9962. 00006872  660A                     bne        +0xC /* 0000687E */
  9963. 00006874  4857                     pea.l      [A7]
  9964. 00006876  4EAD FDB8                jsr        [A5 - 0x248]
  9965. 0000687A  584F                     addq.w     A7, 4
  9966. 0000687C  6008                     bra        +0xA /* 00006886 */
  9967. label0000687E:
  9968. 0000687E  4857                     pea.l      [A7]
  9969. 00006880  4EAD E9B8                jsr        [A5 - 0x1648]
  9970. 00006884  584F                     addq.w     A7, 4
  9971. label00006886:
  9972. 00006886  4A84                     tst.l      D4
  9973. 00006888  660E                     bne        +0x10 /* 00006898 */
  9974. 0000688A  4857                     pea.l      [A7]
  9975. 0000688C  2F0A                     move.l     -[A7], A2
  9976. 0000688E  4EBA 001E                jsr        [PC + 0x1E /* 000068AE */]
  9977. 00006892  3A00                     move.w     D5, D0
  9978. 00006894  504F                     addq.w     A7, 8
  9979. 00006896  660A                     bne        +0xC /* 000068A2 */
  9980. label00006898:
  9981. 00006898  5283                     addq.l     D3, 1
  9982. label0000689A:
  9983. 0000689A  7002                     moveq.l    D0, 0x02
  9984. 0000689C  B680                     cmp.l      D3, D0
  9985. 0000689E  6D00 FF6C                blt        -0x92 /* 0000680C */
  9986. label000068A2:
  9987. 000068A2  3005                     move.w     D0, D5
  9988. 000068A4  4FEF 0058                lea.l      A7, [A7 + 0x58]
  9989. 000068A8  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  9990. 000068AC  4E75                     rts
  9991. fn000068AE:
  9992. 000068AE  48E7 1030                movem.l    -[A7], D3,A2,A3
  9993. 000068B2  266F 0010                movea.l    A3, [A7 + 0x10]
  9994. 000068B6  246F 0014                movea.l    A2, [A7 + 0x14]
  9995. 000068BA  3F2B 0166                move.w     -[A7], [A3 + 0x166]
  9996. 000068BE  2F0A                     move.l     -[A7], A2
  9997. 000068C0  2052                     movea.l    A0, [A2]
  9998. 000068C2  4E90                     jsr        [A0]
  9999. 000068C4  3600                     move.w     D3, D0
  10000. 000068C6  5C4F                     addq.w     A7, 6
  10001. 000068C8  6708                     beq        +0xA /* 000068D2 */
  10002. 000068CA  3003                     move.w     D0, D3
  10003. 000068CC  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  10004. 000068D0  4E75                     rts
  10005. label000068D2:
  10006. 000068D2  204A                     movea.l    A0, A2
  10007. 000068D4  226B 0134                movea.l    A1, [A3 + 0x134]
  10008. 000068D8  7058                     moveq.l    D0, 0x58
  10009. 000068DA  A9EF                     syscall    PtrAndHand
  10010. 000068DC  3600                     move.w     D3, D0
  10011. 000068DE  6712                     beq        +0x14 /* 000068F2 */
  10012. 000068E0  2F0A                     move.l     -[A7], A2
  10013. 000068E2  206A 0004                movea.l    A0, [A2 + 0x4]
  10014. 000068E6  4E90                     jsr        [A0]
  10015. 000068E8  3003                     move.w     D0, D3
  10016. 000068EA  584F                     addq.w     A7, 4
  10017. 000068EC  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  10018. 000068F0  4E75                     rts
  10019. label000068F2:
  10020. 000068F2  7000                     moveq.l    D0, 0x00
  10021. 000068F4  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  10022. 000068F8  4E75                     rts
  10023. fn000068FA:
  10024. 000068FA  2F0A                     move.l     -[A7], A2
  10025. 000068FC  514F                     subq.w     A7, 8
  10026. 000068FE  246F 0010                movea.l    A2, [A7 + 0x10]
  10027. 00006902  4227                     clr.b      -[A7]
  10028. 00006904  486F 0002                pea.l      [A7 + 0x2]
  10029. 00006908  486F 000A                pea.l      [A7 + 0xA]
  10030. 0000690C  2F0A                     move.l     -[A7], A2
  10031. 0000690E  4EBA EE22                jsr        [PC - 0x11DE /* 00005732 */]
  10032. 00006912  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10033. 00006916  6010                     bra        +0x12 /* 00006928 */
  10034. label00006918:
  10035. 00006918  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  10036. 0000691C  206F 0008                movea.l    A0, [A7 + 0x8]
  10037. 00006920  2068 0004                movea.l    A0, [A0 + 0x4]
  10038. 00006924  4E90                     jsr        [A0]
  10039. 00006926  584F                     addq.w     A7, 4
  10040. label00006928:
  10041. 00006928  1F3C 0001                move.b     -[A7], 0x1
  10042. 0000692C  486F 0002                pea.l      [A7 + 0x2]
  10043. 00006930  486F 000A                pea.l      [A7 + 0xA]
  10044. 00006934  2F0A                     move.l     -[A7], A2
  10045. 00006936  4EBA EDFA                jsr        [PC - 0x1206 /* 00005732 */]
  10046. 0000693A  4A80                     tst.l      D0
  10047. 0000693C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10048. 00006940  66D6                     bne        -0x28 /* 00006918 */
  10049. 00006942  1F3C 0002                move.b     -[A7], 0x2
  10050. 00006946  486F 0002                pea.l      [A7 + 0x2]
  10051. 0000694A  486F 000A                pea.l      [A7 + 0xA]
  10052. 0000694E  2F0A                     move.l     -[A7], A2
  10053. 00006950  4EBA EDE0                jsr        [PC - 0x1220 /* 00005732 */]
  10054. 00006954  4AAA 0134                tst.l      [A2 + 0x134]
  10055. 00006958  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10056. 0000695C  670A                     beq        +0xC /* 00006968 */
  10057. 0000695E  206A 0134                movea.l    A0, [A2 + 0x134]
  10058. 00006962  A023                     syscall    DisposHandle/DisposeHandle
  10059. 00006964  42AA 0134                clr.l      [A2 + 0x134]
  10060. label00006968:
  10061. 00006968  504F                     addq.w     A7, 8
  10062. 0000696A  245F                     movea.l    A2, [A7]+
  10063. 0000696C  4E75                     rts
  10064. fn0000696E:
  10065. 0000696E  48E7 1838                movem.l    -[A7], D3,D4,A2,A3,A4
  10066. 00006972  4FEF FFE8                lea.l      A7, [A7 - 0x18]
  10067. 00006976  286F 0030                movea.l    A4, [A7 + 0x30]
  10068. 0000697A  97CB                     sub.l      A3, A3
  10069. 0000697C  7800                     moveq.l    D4, 0x00
  10070. 0000697E  7000                     moveq.l    D0, 0x00
  10071. 00006980  102D 81A0                move.b     D0, [A5 - 0x7E60]
  10072. 00006984  7202                     moveq.l    D1, 0x02
  10073. 00006986  B081                     cmp.l      D0, D1
  10074. 00006988  6D00 00E0                blt        +0xE2 /* 00006A6A */
  10075. 0000698C  486F 0008                pea.l      [A7 + 0x8]
  10076. 00006990  2F0C                     move.l     -[A7], A4
  10077. 00006992  4EAD DD28                jsr        [A5 - 0x22D8]
  10078. 00006996  AA29                     syscall    GetDeviceList
  10079. 00006998  205F                     movea.l    A0, [A7]+
  10080. 0000699A  2448                     movea.l    A2, A0
  10081. 0000699C  584F                     addq.w     A7, 4
  10082. 0000699E  6074                     bra        +0x76 /* 00006A14 */
  10083. label000069A0:
  10084. 000069A0  554F                     subq.w     A7, 2
  10085. 000069A2  2F0A                     move.l     -[A7], A2
  10086. 000069A4  3F3C 000D                move.w     -[A7], 0xD /* '\r' */
  10087. 000069A8  AA2C                     syscall    TestDeviceAttribute
  10088. 000069AA  101F                     move.b     D0, [A7]+
  10089. 000069AC  675C                     beq        +0x5E /* 00006A0A */
  10090. 000069AE  554F                     subq.w     A7, 2
  10091. 000069B0  2F0A                     move.l     -[A7], A2
  10092. 000069B2  3F3C 000F                move.w     -[A7], 0xF
  10093. 000069B6  AA2C                     syscall    TestDeviceAttribute
  10094. 000069B8  101F                     move.b     D0, [A7]+
  10095. 000069BA  674E                     beq        +0x50 /* 00006A0A */
  10096. 000069BC  2052                     movea.l    A0, [A2]
  10097. 000069BE  2F68 0022 0010           move.l     [A7 + 0x10], [A0 + 0x22]
  10098. 000069C4  2F68 0026 0014           move.l     [A7 + 0x14], [A0 + 0x26]
  10099. 000069CA  554F                     subq.w     A7, 2
  10100. 000069CC  486F 000A                pea.l      [A7 + 0xA]
  10101. 000069D0  486F 0016                pea.l      [A7 + 0x16]
  10102. 000069D4  486F 001A                pea.l      [A7 + 0x1A]
  10103. 000069D8  A8AA                     syscall    SectRect
  10104. 000069DA  101F                     move.b     D0, [A7]+
  10105. 000069DC  672C                     beq        +0x2E /* 00006A0A */
  10106. 000069DE  302F 0012                move.w     D0, [A7 + 0x12]
  10107. 000069E2  48C0                     ext.l      D0
  10108. 000069E4  322F 0016                move.w     D1, [A7 + 0x16]
  10109. 000069E8  48C1                     ext.l      D1
  10110. 000069EA  9280                     sub.l      D1, D0
  10111. 000069EC  302F 0010                move.w     D0, [A7 + 0x10]
  10112. 000069F0  48C0                     ext.l      D0
  10113. 000069F2  342F 0014                move.w     D2, [A7 + 0x14]
  10114. 000069F6  48C2                     ext.l      D2
  10115. 000069F8  9480                     sub.l      D2, D0
  10116. 000069FA  2002                     move.l     D0, D2
  10117. 000069FC  4EAD D8F8                jsr        [A5 - 0x2708]
  10118. 00006A00  2600                     move.l     D3, D0
  10119. 00006A02  B684                     cmp.l      D3, D4
  10120. 00006A04  6F04                     ble        +0x6 /* 00006A0A */
  10121. 00006A06  2803                     move.l     D4, D3
  10122. 00006A08  264A                     movea.l    A3, A2
  10123. label00006A0A:
  10124. 00006A0A  594F                     subq.w     A7, 4
  10125. 00006A0C  2F0A                     move.l     -[A7], A2
  10126. 00006A0E  AA2B                     syscall    GetNextDevice
  10127. 00006A10  205F                     movea.l    A0, [A7]+
  10128. 00006A12  2448                     movea.l    A2, A0
  10129. label00006A14:
  10130. 00006A14  200A                     move.l     D0, A2
  10131. 00006A16  6688                     bne        -0x76 /* 000069A0 */
  10132. 00006A18  200B                     move.l     D0, A3
  10133. 00006A1A  674E                     beq        +0x50 /* 00006A6A */
  10134. 00006A1C  2053                     movea.l    A0, [A3]
  10135. 00006A1E  2EA8 0022                move.l     [A7], [A0 + 0x22]
  10136. 00006A22  2F68 0026 0004           move.l     [A7 + 0x4], [A0 + 0x26]
  10137. 00006A28  594F                     subq.w     A7, 4
  10138. 00006A2A  AA2A                     syscall    GetMainDevice
  10139. 00006A2C  205F                     movea.l    A0, [A7]+
  10140. 00006A2E  B7C8                     cmpa.l     A3, A0
  10141. 00006A30  57C0                     seq        D0
  10142. 00006A32  4400                     neg.b      D0
  10143. 00006A34  4880                     ext.w      D0
  10144. 00006A36  48C0                     ext.l      D0
  10145. 00006A38  3F00                     move.w     -[A7], D0
  10146. 00006A3A  486F 0002                pea.l      [A7 + 0x2]
  10147. 00006A3E  486F 000E                pea.l      [A7 + 0xE]
  10148. 00006A42  4EAD DD18                jsr        [A5 - 0x22E8]
  10149. 00006A46  3F3C 0001                move.w     -[A7], 0x1
  10150. 00006A4A  2F0C                     move.l     -[A7], A4
  10151. 00006A4C  486F 0018                pea.l      [A7 + 0x18]
  10152. 00006A50  4EAD DD20                jsr        [A5 - 0x22E0]
  10153. 00006A54  206C 0082                movea.l    A0, [A4 + 0x82]
  10154. 00006A58  2050                     movea.l    A0, [A0]
  10155. 00006A5A  216F 001C 0008           move.l     [A0 + 0x8], [A7 + 0x1C]
  10156. 00006A60  216F 0020 000C           move.l     [A0 + 0xC], [A7 + 0x20]
  10157. 00006A66  4FEF 0014                lea.l      A7, [A7 + 0x14]
  10158. label00006A6A:
  10159. 00006A6A  4FEF 0018                lea.l      A7, [A7 + 0x18]
  10160. 00006A6E  4CDF 1C18                movem.l    D3,D4,A2,A3,A4, [A7]+
  10161. 00006A72  4E75                     rts
  10162. fn00006A74:
  10163. 00006A74  48E7 1020                movem.l    -[A7], D3,A2
  10164. 00006A78  246F 000C                movea.l    A2, [A7 + 0xC]
  10165. 00006A7C  2F0A                     move.l     -[A7], A2
  10166. 00006A7E  4EAD DCC0                jsr        [A5 - 0x2340]
  10167. 00006A82  4A80                     tst.l      D0
  10168. 00006A84  584F                     addq.w     A7, 4
  10169. 00006A86  660E                     bne        +0x10 /* 00006A96 */
  10170. 00006A88  554F                     subq.w     A7, 2
  10171. 00006A8A  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  10172. 00006A8E  301F                     move.w     D0, [A7]+
  10173. 00006A90  4CDF 0408                movem.l    D3,A2, [A7]+
  10174. 00006A94  4E75                     rts
  10175. label00006A96:
  10176. 00006A96  4AAD B2D8                tst.l      [A5 - 0x4D28]
  10177. 00006A9A  6644                     bne        +0x46 /* 00006AE0 */
  10178. 00006A9C  302A 0168                move.w     D0, [A2 + 0x168]
  10179. 00006AA0  48C0                     ext.l      D0
  10180. 00006AA2  4A80                     tst.l      D0
  10181. 00006AA4  6D1E                     blt        +0x20 /* 00006AC4 */
  10182. 00006AA6  42A7                     clr.l      -[A7]
  10183. 00006AA8  486A 0138                pea.l      [A2 + 0x138]
  10184. 00006AAC  3F2A 0168                move.w     -[A7], [A2 + 0x168]
  10185. 00006AB0  4EAD E1C0                jsr        [A5 - 0x1E40]
  10186. 00006AB4  3600                     move.w     D3, D0
  10187. 00006AB6  4FEF 000A                lea.l      A7, [A7 + 0xA]
  10188. 00006ABA  6724                     beq        +0x26 /* 00006AE0 */
  10189. 00006ABC  3003                     move.w     D0, D3
  10190. 00006ABE  4CDF 0408                movem.l    D3,A2, [A7]+
  10191. 00006AC2  4E75                     rts
  10192. label00006AC4:
  10193. 00006AC4  7000                     moveq.l    D0, 0x00
  10194. 00006AC6  A122                     syscall    NewHandle, flags=1
  10195. 00006AC8  2548 0138                move.l     [A2 + 0x138], A0
  10196. 00006ACC  554F                     subq.w     A7, 2
  10197. 00006ACE  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  10198. 00006AD2  301F                     move.w     D0, [A7]+
  10199. 00006AD4  3600                     move.w     D3, D0
  10200. 00006AD6  6708                     beq        +0xA /* 00006AE0 */
  10201. 00006AD8  3003                     move.w     D0, D3
  10202. 00006ADA  4CDF 0408                movem.l    D3,A2, [A7]+
  10203. 00006ADE  4E75                     rts
  10204. label00006AE0:
  10205. 00006AE0  486A 00E6                pea.l      [A2 + 0xE6]
  10206. 00006AE4  486A 00E2                pea.l      [A2 + 0xE2]
  10207. 00006AE8  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  10208. 00006AEC  4EAD E190                jsr        [A5 - 0x1E70]
  10209. 00006AF0  2F0A                     move.l     -[A7], A2
  10210. 00006AF2  4EBA 09D0                jsr        [PC + 0x9D0 /* 000074C4 */]
  10211. 00006AF6  3600                     move.w     D3, D0
  10212. 00006AF8  7000                     moveq.l    D0, 0x00
  10213. 00006AFA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10214. 00006AFE  4CDF 0408                movem.l    D3,A2, [A7]+
  10215. 00006B02  4E75                     rts
  10216. fn00006B04:
  10217. 00006B04  48E7 0030                movem.l    -[A7], A2,A3
  10218. 00006B08  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  10219. 00006B0C  266F 001C                movea.l    A3, [A7 + 0x1C]
  10220. 00006B10  246F 0020                movea.l    A2, [A7 + 0x20]
  10221. 00006B14  2F0B                     move.l     -[A7], A3
  10222. 00006B16  4EAD DD40                jsr        [A5 - 0x22C0]
  10223. 00006B1A  4252                     clr.w      [A2]
  10224. 00006B1C  426A 0002                clr.w      [A2 + 0x2]
  10225. 00006B20  357C 7FFF 0004           move.w     [A2 + 0x4], 0x7FFF
  10226. 00006B26  357C 7FFF 0006           move.w     [A2 + 0x6], 0x7FFF
  10227. 00006B2C  4227                     clr.b      -[A7]
  10228. 00006B2E  486F 0006                pea.l      [A7 + 0x6]
  10229. 00006B32  486F 000E                pea.l      [A7 + 0xE]
  10230. 00006B36  2F0B                     move.l     -[A7], A3
  10231. 00006B38  4EBA EBF8                jsr        [PC - 0x1408 /* 00005732 */]
  10232. 00006B3C  4FEF 0012                lea.l      A7, [A7 + 0x12]
  10233. 00006B40  6064                     bra        +0x66 /* 00006BA6 */
  10234. label00006B42:
  10235. 00006B42  426F 0008                clr.w      [A7 + 0x8]
  10236. 00006B46  426F 000A                clr.w      [A7 + 0xA]
  10237. 00006B4A  3F7C 7FFF 000C           move.w     [A7 + 0xC], 0x7FFF
  10238. 00006B50  3F7C 7FFF 000E           move.w     [A7 + 0xE], 0x7FFF
  10239. 00006B56  486F 0008                pea.l      [A7 + 0x8]
  10240. 00006B5A  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  10241. 00006B5E  206F 000C                movea.l    A0, [A7 + 0xC]
  10242. 00006B62  2068 0034                movea.l    A0, [A0 + 0x34]
  10243. 00006B66  4E90                     jsr        [A0]
  10244. 00006B68  302F 0012                move.w     D0, [A7 + 0x12]
  10245. 00006B6C  B06A 0002                cmp.w      D0, [A2 + 0x2]
  10246. 00006B70  504F                     addq.w     A7, 8
  10247. 00006B72  6F06                     ble        +0x8 /* 00006B7A */
  10248. 00006B74  356F 000A 0002           move.w     [A2 + 0x2], [A7 + 0xA]
  10249. label00006B7A:
  10250. 00006B7A  302F 0008                move.w     D0, [A7 + 0x8]
  10251. 00006B7E  B052                     cmp.w      D0, [A2]
  10252. 00006B80  6F04                     ble        +0x6 /* 00006B86 */
  10253. 00006B82  34AF 0008                move.w     [A2], [A7 + 0x8]
  10254. label00006B86:
  10255. 00006B86  302F 000E                move.w     D0, [A7 + 0xE]
  10256. 00006B8A  B06A 0006                cmp.w      D0, [A2 + 0x6]
  10257. 00006B8E  6C06                     bge        +0x8 /* 00006B96 */
  10258. 00006B90  356F 000E 0006           move.w     [A2 + 0x6], [A7 + 0xE]
  10259. label00006B96:
  10260. 00006B96  302F 000C                move.w     D0, [A7 + 0xC]
  10261. 00006B9A  B06A 0004                cmp.w      D0, [A2 + 0x4]
  10262. 00006B9E  6C06                     bge        +0x8 /* 00006BA6 */
  10263. 00006BA0  356F 000C 0004           move.w     [A2 + 0x4], [A7 + 0xC]
  10264. label00006BA6:
  10265. 00006BA6  1F3C 0001                move.b     -[A7], 0x1
  10266. 00006BAA  486F 0002                pea.l      [A7 + 0x2]
  10267. 00006BAE  486F 000A                pea.l      [A7 + 0xA]
  10268. 00006BB2  2F0B                     move.l     -[A7], A3
  10269. 00006BB4  4EBA EB7C                jsr        [PC - 0x1484 /* 00005732 */]
  10270. 00006BB8  4A80                     tst.l      D0
  10271. 00006BBA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10272. 00006BBE  6682                     bne        -0x7C /* 00006B42 */
  10273. 00006BC0  1F3C 0002                move.b     -[A7], 0x2
  10274. 00006BC4  486F 0002                pea.l      [A7 + 0x2]
  10275. 00006BC8  486F 000A                pea.l      [A7 + 0xA]
  10276. 00006BCC  2F0B                     move.l     -[A7], A3
  10277. 00006BCE  4EBA EB62                jsr        [PC - 0x149E /* 00005732 */]
  10278. 00006BD2  4EAD DD48                jsr        [A5 - 0x22B8]
  10279. 00006BD6  4FEF 001E                lea.l      A7, [A7 + 0x1E]
  10280. 00006BDA  4CDF 0C00                movem.l    A2,A3, [A7]+
  10281. 00006BDE  4E75                     rts
  10282. fn00006BE0:
  10283. 00006BE0  48E7 1030                movem.l    -[A7], D3,A2,A3
  10284. 00006BE4  514F                     subq.w     A7, 8
  10285. 00006BE6  266F 0018                movea.l    A3, [A7 + 0x18]
  10286. 00006BEA  246F 0020                movea.l    A2, [A7 + 0x20]
  10287. 00006BEE  206F 001C                movea.l    A0, [A7 + 0x1C]
  10288. 00006BF2  2E90                     move.l     [A7], [A0]
  10289. 00006BF4  2F68 0004 0004           move.l     [A7 + 0x4], [A0 + 0x4]
  10290. 00006BFA  362F 0002                move.w     D3, [A7 + 0x2]
  10291. 00006BFE  48C3                     ext.l      D3
  10292. 00006C00  302A 0002                move.w     D0, [A2 + 0x2]
  10293. 00006C04  48C0                     ext.l      D0
  10294. 00006C06  322F 0006                move.w     D1, [A7 + 0x6]
  10295. 00006C0A  48C1                     ext.l      D1
  10296. 00006C0C  9283                     sub.l      D1, D3
  10297. 00006C0E  B280                     cmp.l      D1, D0
  10298. 00006C10  6C0C                     bge        +0xE /* 00006C1E */
  10299. 00006C12  302A 0002                move.w     D0, [A2 + 0x2]
  10300. 00006C16  48C0                     ext.l      D0
  10301. 00006C18  D083                     add.l      D0, D3
  10302. 00006C1A  3F40 0006                move.w     [A7 + 0x6], D0
  10303. label00006C1E:
  10304. 00006C1E  3012                     move.w     D0, [A2]
  10305. 00006C20  48C0                     ext.l      D0
  10306. 00006C22  3217                     move.w     D1, [A7]
  10307. 00006C24  48C1                     ext.l      D1
  10308. 00006C26  342F 0004                move.w     D2, [A7 + 0x4]
  10309. 00006C2A  48C2                     ext.l      D2
  10310. 00006C2C  9481                     sub.l      D2, D1
  10311. 00006C2E  B480                     cmp.l      D2, D0
  10312. 00006C30  6C0E                     bge        +0x10 /* 00006C40 */
  10313. 00006C32  3012                     move.w     D0, [A2]
  10314. 00006C34  48C0                     ext.l      D0
  10315. 00006C36  3217                     move.w     D1, [A7]
  10316. 00006C38  48C1                     ext.l      D1
  10317. 00006C3A  D280                     add.l      D1, D0
  10318. 00006C3C  3F41 0004                move.w     [A7 + 0x4], D1
  10319. label00006C40:
  10320. 00006C40  4AAB 015C                tst.l      [A3 + 0x15C]
  10321. 00006C44  6740                     beq        +0x42 /* 00006C86 */
  10322. 00006C46  3F3C 0001                move.w     -[A7], 0x1
  10323. 00006C4A  302F 0002                move.w     D0, [A7 + 0x2]
  10324. 00006C4E  48C0                     ext.l      D0
  10325. 00006C50  322F 0006                move.w     D1, [A7 + 0x6]
  10326. 00006C54  48C1                     ext.l      D1
  10327. 00006C56  9280                     sub.l      D1, D0
  10328. 00006C58  3F01                     move.w     -[A7], D1
  10329. 00006C5A  302F 0006                move.w     D0, [A7 + 0x6]
  10330. 00006C5E  48C0                     ext.l      D0
  10331. 00006C60  322F 000A                move.w     D1, [A7 + 0xA]
  10332. 00006C64  48C1                     ext.l      D1
  10333. 00006C66  9280                     sub.l      D1, D0
  10334. 00006C68  3F01                     move.w     -[A7], D1
  10335. 00006C6A  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  10336. 00006C6E  2F0B                     move.l     -[A7], A3
  10337. 00006C70  4EAD DD30                jsr        [A5 - 0x22D0]
  10338. 00006C74  4A40                     tst.w      D0
  10339. 00006C76  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10340. 00006C7A  660A                     bne        +0xC /* 00006C86 */
  10341. 00006C7C  7000                     moveq.l    D0, 0x00
  10342. 00006C7E  504F                     addq.w     A7, 8
  10343. 00006C80  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  10344. 00006C84  4E75                     rts
  10345. label00006C86:
  10346. 00006C86  2F0B                     move.l     -[A7], A3
  10347. 00006C88  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  10348. 00006C8C  3F2F 0006                move.w     -[A7], [A7 + 0x6]
  10349. 00006C90  4227                     clr.b      -[A7]
  10350. 00006C92  A91B                     syscall    MoveWindow
  10351. 00006C94  2F0B                     move.l     -[A7], A3
  10352. 00006C96  302F 0006                move.w     D0, [A7 + 0x6]
  10353. 00006C9A  48C0                     ext.l      D0
  10354. 00006C9C  322F 000A                move.w     D1, [A7 + 0xA]
  10355. 00006CA0  48C1                     ext.l      D1
  10356. 00006CA2  9280                     sub.l      D1, D0
  10357. 00006CA4  3F01                     move.w     -[A7], D1
  10358. 00006CA6  302F 0006                move.w     D0, [A7 + 0x6]
  10359. 00006CAA  48C0                     ext.l      D0
  10360. 00006CAC  322F 000A                move.w     D1, [A7 + 0xA]
  10361. 00006CB0  48C1                     ext.l      D1
  10362. 00006CB2  9280                     sub.l      D1, D0
  10363. 00006CB4  3F01                     move.w     -[A7], D1
  10364. 00006CB6  1F3C 0001                move.b     -[A7], 0x1
  10365. 00006CBA  A91D                     syscall    SizeWindow
  10366. 00006CBC  7001                     moveq.l    D0, 0x01
  10367. 00006CBE  504F                     addq.w     A7, 8
  10368. 00006CC0  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  10369. 00006CC4  4E75                     rts
  10370. fn00006CC6:
  10371. 00006CC6  48E7 1030                movem.l    -[A7], D3,A2,A3
  10372. 00006CCA  4FEF FFF0                lea.l      A7, [A7 - 0x10]
  10373. 00006CCE  246F 0020                movea.l    A2, [A7 + 0x20]
  10374. 00006CD2  264A                     movea.l    A3, A2
  10375. 00006CD4  4857                     pea.l      [A7]
  10376. 00006CD6  2F0A                     move.l     -[A7], A2
  10377. 00006CD8  4EBA FE2A                jsr        [PC - 0x1D6 /* 00006B04 */]
  10378. 00006CDC  0C2A 0001 016A           cmpi.b     [A2 + 0x16A], 0x1
  10379. 00006CE2  504F                     addq.w     A7, 8
  10380. 00006CE4  6700 00B2                beq        +0xB4 /* 00006D98 */
  10381. 00006CE8  0C2A 0003 016A           cmpi.b     [A2 + 0x16A], 0x3
  10382. 00006CEE  6700 00A8                beq        +0xAA /* 00006D98 */
  10383. 00006CF2  0C2A 0004 016A           cmpi.b     [A2 + 0x16A], 0x4
  10384. 00006CF8  6700 009E                beq        +0xA0 /* 00006D98 */
  10385. 00006CFC  0C2A 0006 016A           cmpi.b     [A2 + 0x16A], 0x6
  10386. 00006D02  6700 0094                beq        +0x96 /* 00006D98 */
  10387. 00006D06  1F3C 000A                move.b     -[A7], 0xA /* '\n' */
  10388. 00006D0A  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  10389. 00006D0E  4EBA C6B0                jsr        [PC - 0x3950 /* 000033C0 */]
  10390. 00006D12  2608                     move.l     D3, A0
  10391. 00006D14  4AAD B2D8                tst.l      [A5 - 0x4D28]
  10392. 00006D18  584F                     addq.w     A7, 4
  10393. 00006D1A  6710                     beq        +0x12 /* 00006D2C */
  10394. 00006D1C  0C83 414C 5468           cmpi.l     D3, 0x414C5468 /* 'ALTh' */
  10395. 00006D22  6708                     beq        +0xA /* 00006D2C */
  10396. 00006D24  0C83 414C 5476           cmpi.l     D3, 0x414C5476 /* 'ALTv' */
  10397. 00006D2A  6606                     bne        +0x8 /* 00006D32 */
  10398. label00006D2C:
  10399. 00006D2C  362A 0168                move.w     D3, [A2 + 0x168]
  10400. 00006D30  6006                     bra        +0x8 /* 00006D38 */
  10401. label00006D32:
  10402. 00006D32  4EAD FF40                jsr        [A5 - 0xC0]
  10403. 00006D36  3600                     move.w     D3, D0
  10404. label00006D38:
  10405. 00006D38  2F0B                     move.l     -[A7], A3
  10406. 00006D3A  4EBA FC32                jsr        [PC - 0x3CE /* 0000696E */]
  10407. 00006D3E  3003                     move.w     D0, D3
  10408. 00006D40  48C0                     ext.l      D0
  10409. 00006D42  4A80                     tst.l      D0
  10410. 00006D44  584F                     addq.w     A7, 4
  10411. 00006D46  6D30                     blt        +0x32 /* 00006D78 */
  10412. 00006D48  486F 0008                pea.l      [A7 + 0x8]
  10413. 00006D4C  2F2A 0148                move.l     -[A7], [A2 + 0x148]
  10414. 00006D50  3F03                     move.w     -[A7], D3
  10415. 00006D52  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  10416. 00006D56  2F0B                     move.l     -[A7], A3
  10417. 00006D58  4EAD E2D8                jsr        [A5 - 0x1D28]
  10418. 00006D5C  4A80                     tst.l      D0
  10419. 00006D5E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  10420. 00006D62  6714                     beq        +0x16 /* 00006D78 */
  10421. 00006D64  4857                     pea.l      [A7]
  10422. 00006D66  486F 000C                pea.l      [A7 + 0xC]
  10423. 00006D6A  2F0A                     move.l     -[A7], A2
  10424. 00006D6C  4EBA FE72                jsr        [PC - 0x18E /* 00006BE0 */]
  10425. 00006D70  4A80                     tst.l      D0
  10426. 00006D72  4FEF 000C                lea.l      A7, [A7 + 0xC]
  10427. 00006D76  6620                     bne        +0x22 /* 00006D98 */
  10428. label00006D78:
  10429. 00006D78  2F0B                     move.l     -[A7], A3
  10430. 00006D7A  2F3C 000A 000A           move.l     -[A7], 0xA000A /* '\n\0\n' */
  10431. 00006D80  4227                     clr.b      -[A7]
  10432. 00006D82  A91D                     syscall    SizeWindow
  10433. 00006D84  2F0B                     move.l     -[A7], A3
  10434. 00006D86  3F3C 0008                move.w     -[A7], 0x8
  10435. 00006D8A  4227                     clr.b      -[A7]
  10436. 00006D8C  A83A                     syscall    ZoomWindow
  10437. 00006D8E  42A7                     clr.l      -[A7]
  10438. 00006D90  2F0B                     move.l     -[A7], A3
  10439. 00006D92  4EBA DA5A                jsr        [PC - 0x25A6 /* 000047EE */]
  10440. 00006D96  504F                     addq.w     A7, 8
  10441. label00006D98:
  10442. 00006D98  4227                     clr.b      -[A7]
  10443. 00006D9A  2F0A                     move.l     -[A7], A2
  10444. 00006D9C  4EBA 002E                jsr        [PC + 0x2E /* 00006DCC */]
  10445. 00006DA0  4AAB 0082                tst.l      [A3 + 0x82]
  10446. 00006DA4  5C4F                     addq.w     A7, 6
  10447. 00006DA6  671A                     beq        +0x1C /* 00006DC2 */
  10448. 00006DA8  206B 0082                movea.l    A0, [A3 + 0x82]
  10449. 00006DAC  2450                     movea.l    A2, [A0]
  10450. 00006DAE  24AB 0010                move.l     [A2], [A3 + 0x10]
  10451. 00006DB2  256B 0014 0004           move.l     [A2 + 0x4], [A3 + 0x14]
  10452. 00006DB8  2F0A                     move.l     -[A7], A2
  10453. 00006DBA  A870                     syscall    LocalToGlobal
  10454. 00006DBC  486A 0004                pea.l      [A2 + 0x4]
  10455. 00006DC0  A870                     syscall    LocalToGlobal
  10456. label00006DC2:
  10457. 00006DC2  4FEF 0010                lea.l      A7, [A7 + 0x10]
  10458. 00006DC6  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  10459. 00006DCA  4E75                     rts
  10460. fn00006DCC:
  10461. 00006DCC  48E7 1020                movem.l    -[A7], D3,A2
  10462. 00006DD0  514F                     subq.w     A7, 8
  10463. 00006DD2  246F 0014                movea.l    A2, [A7 + 0x14]
  10464. 00006DD6  162F 0018                move.b     D3, [A7 + 0x18]
  10465. 00006DDA  4227                     clr.b      -[A7]
  10466. 00006DDC  486F 0002                pea.l      [A7 + 0x2]
  10467. 00006DE0  486F 000A                pea.l      [A7 + 0xA]
  10468. 00006DE4  2F0A                     move.l     -[A7], A2
  10469. 00006DE6  4EBA E94A                jsr        [PC - 0x16B6 /* 00005732 */]
  10470. 00006DEA  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10471. 00006DEE  6012                     bra        +0x14 /* 00006E02 */
  10472. label00006DF0:
  10473. 00006DF0  1F03                     move.b     -[A7], D3
  10474. 00006DF2  2F2F 0006                move.l     -[A7], [A7 + 0x6]
  10475. 00006DF6  206F 000A                movea.l    A0, [A7 + 0xA]
  10476. 00006DFA  2068 0028                movea.l    A0, [A0 + 0x28]
  10477. 00006DFE  4E90                     jsr        [A0]
  10478. 00006E00  5C4F                     addq.w     A7, 6
  10479. label00006E02:
  10480. 00006E02  1F3C 0001                move.b     -[A7], 0x1
  10481. 00006E06  486F 0002                pea.l      [A7 + 0x2]
  10482. 00006E0A  486F 000A                pea.l      [A7 + 0xA]
  10483. 00006E0E  2F0A                     move.l     -[A7], A2
  10484. 00006E10  4EBA E920                jsr        [PC - 0x16E0 /* 00005732 */]
  10485. 00006E14  4A80                     tst.l      D0
  10486. 00006E16  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10487. 00006E1A  66D4                     bne        -0x2A /* 00006DF0 */
  10488. 00006E1C  1F3C 0002                move.b     -[A7], 0x2
  10489. 00006E20  486F 0002                pea.l      [A7 + 0x2]
  10490. 00006E24  486F 000A                pea.l      [A7 + 0xA]
  10491. 00006E28  2F0A                     move.l     -[A7], A2
  10492. 00006E2A  4EBA E906                jsr        [PC - 0x16FA /* 00005732 */]
  10493. 00006E2E  4FEF 0016                lea.l      A7, [A7 + 0x16]
  10494. 00006E32  4CDF 0408                movem.l    D3,A2, [A7]+
  10495. 00006E36  4E75                     rts
  10496. fn00006E38:
  10497. 00006E38  7000                     moveq.l    D0, 0x00
  10498. 00006E3A  102F 0006                move.b     D0, [A7 + 0x6]
  10499. 00006E3E  670E                     beq        +0x10 /* 00006E4E */
  10500. 00006E40  5580                     subq.l     D0, 2
  10501. 00006E42  6718                     beq        +0x1A /* 00006E5C */
  10502. 00006E44  5780                     subq.l     D0, 3
  10503. 00006E46  6706                     beq        +0x8 /* 00006E4E */
  10504. 00006E48  4E71                     nop
  10505. 00006E4A  70FF                     moveq.l    D0, 0xFFFFFFFF
  10506. 00006E4C  4E75                     rts
  10507. label00006E4E:
  10508. 00006E4E  42A7                     clr.l      -[A7]
  10509. 00006E50  3F2F 0008                move.w     -[A7], [A7 + 0x8]
  10510. 00006E54  4EAD E2F0                jsr        [A5 - 0x1D10]
  10511. 00006E58  5C4F                     addq.w     A7, 6
  10512. 00006E5A  4E75                     rts
  10513. label00006E5C:
  10514. 00006E5C  4EAD E9A8                jsr        [A5 - 0x1658]
  10515. 00006E60  4E75                     rts
  10516. fn00006E62:
  10517. 00006E62  48E7 1830                movem.l    -[A7], D3,D4,A2,A3
  10518. 00006E66  266F 0014                movea.l    A3, [A7 + 0x14]
  10519. 00006E6A  382F 0018                move.w     D4, [A7 + 0x18]
  10520. 00006E6E  162F 001A                move.b     D3, [A7 + 0x1A]
  10521. 00006E72  594F                     subq.w     A7, 4
  10522. 00006E74  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  10523. 00006E78  4E90                     jsr        [A0]
  10524. 00006E7A  205F                     movea.l    A0, [A7]+
  10525. 00006E7C  2448                     movea.l    A2, A0
  10526. 00006E7E  6028                     bra        +0x2A /* 00006EA8 */
  10527. label00006E80:
  10528. 00006E80  B5CB                     cmpa.l     A2, A3
  10529. 00006E82  6720                     beq        +0x22 /* 00006EA4 */
  10530. 00006E84  302A 006C                move.w     D0, [A2 + 0x6C]
  10531. 00006E88  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  10532. 00006E8C  6616                     bne        +0x18 /* 00006EA4 */
  10533. 00006E8E  1F03                     move.b     -[A7], D3
  10534. 00006E90  2F0A                     move.l     -[A7], A2
  10535. 00006E92  4EBA E5F6                jsr        [PC - 0x1A0A /* 0000548A */]
  10536. 00006E96  B850                     cmp.w      D4, [A0]
  10537. 00006E98  5C4F                     addq.w     A7, 6
  10538. 00006E9A  6608                     bne        +0xA /* 00006EA4 */
  10539. 00006E9C  7001                     moveq.l    D0, 0x01
  10540. 00006E9E  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  10541. 00006EA2  4E75                     rts
  10542. label00006EA4:
  10543. 00006EA4  246A 0090                movea.l    A2, [A2 + 0x90]
  10544. label00006EA8:
  10545. 00006EA8  200A                     move.l     D0, A2
  10546. 00006EAA  66D4                     bne        -0x2A /* 00006E80 */
  10547. 00006EAC  7000                     moveq.l    D0, 0x00
  10548. 00006EAE  4CDF 0C18                movem.l    D3,D4,A2,A3, [A7]+
  10549. 00006EB2  4E75                     rts
  10550. fn00006EB4:
  10551. 00006EB4  48E7 0030                movem.l    -[A7], A2,A3
  10552. 00006EB8  594F                     subq.w     A7, 4
  10553. 00006EBA  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  10554. 00006EBE  4E90                     jsr        [A0]
  10555. 00006EC0  205F                     movea.l    A0, [A7]+
  10556. 00006EC2  2448                     movea.l    A2, A0
  10557. 00006EC4  200A                     move.l     D0, A2
  10558. 00006EC6  6712                     beq        +0x14 /* 00006EDA */
  10559. 00006EC8  302A 006C                move.w     D0, [A2 + 0x6C]
  10560. 00006ECC  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  10561. 00006ED0  6708                     beq        +0xA /* 00006EDA */
  10562. 00006ED2  0C6A 0008 006C           cmpi.w     [A2 + 0x6C], 0x8
  10563. 00006ED8  660C                     bne        +0xE /* 00006EE6 */
  10564. label00006EDA:
  10565. 00006EDA  207C FFFF FFFF           movea.l    A0, 0xFFFFFFFF
  10566. 00006EE0  4CDF 0C00                movem.l    A2,A3, [A7]+
  10567. 00006EE4  4E75                     rts
  10568. label00006EE6:
  10569. 00006EE6  264A                     movea.l    A3, A2
  10570. 00006EE8  246A 0090                movea.l    A2, [A2 + 0x90]
  10571. 00006EEC  200A                     move.l     D0, A2
  10572. 00006EEE  6712                     beq        +0x14 /* 00006F02 */
  10573. 00006EF0  302A 006C                move.w     D0, [A2 + 0x6C]
  10574. 00006EF4  B06D B416                cmp.w      D0, [A5 - 0x4BEA]
  10575. 00006EF8  6708                     beq        +0xA /* 00006F02 */
  10576. 00006EFA  0C6A 0008 006C           cmpi.w     [A2 + 0x6C], 0x8
  10577. 00006F00  66E4                     bne        -0x1A /* 00006EE6 */
  10578. label00006F02:
  10579. 00006F02  204B                     movea.l    A0, A3
  10580. 00006F04  4CDF 0C00                movem.l    A2,A3, [A7]+
  10581. 00006F08  4E75                     rts
  10582. fn00006F0A:
  10583. 00006F0A  48E7 1C20                movem.l    -[A7], D3,D4,D5,A2
  10584. 00006F0E  3A2F 0014                move.w     D5, [A7 + 0x14]
  10585. 00006F12  282F 0016                move.l     D4, [A7 + 0x16]
  10586. 00006F16  7600                     moveq.l    D3, 0x00
  10587. 00006F18  601C                     bra        +0x1E /* 00006F36 */
  10588. label00006F1A:
  10589. 00006F1A  BA6A 0166                cmp.w      D5, [A2 + 0x166]
  10590. 00006F1E  6616                     bne        +0x18 /* 00006F36 */
  10591. 00006F20  4A84                     tst.l      D4
  10592. 00006F22  670A                     beq        +0xC /* 00006F2E */
  10593. 00006F24  2F0A                     move.l     -[A7], A2
  10594. 00006F26  206D 133E                movea.l    A0, [A5 + 0x133E]
  10595. 00006F2A  4E90                     jsr        [A0]
  10596. 00006F2C  6008                     bra        +0xA /* 00006F36 */
  10597. label00006F2E:
  10598. 00006F2E  2F0A                     move.l     -[A7], A2
  10599. 00006F30  206D 134A                movea.l    A0, [A5 + 0x134A /* export_613 */]
  10600. 00006F34  4E90                     jsr        [A0]
  10601. label00006F36:
  10602. 00006F36  2003                     move.l     D0, D3
  10603. 00006F38  5283                     addq.l     D3, 1
  10604. 00006F3A  2F00                     move.l     -[A7], D0
  10605. 00006F3C  4EAD DC78                jsr        [A5 - 0x2388]
  10606. 00006F40  2448                     movea.l    A2, A0
  10607. 00006F42  2008                     move.l     D0, A0
  10608. 00006F44  584F                     addq.w     A7, 4
  10609. 00006F46  66D2                     bne        -0x2C /* 00006F1A */
  10610. 00006F48  4CDF 0438                movem.l    D3,D4,D5,A2, [A7]+
  10611. 00006F4C  4E75                     rts
  10612. fn00006F4E:
  10613. 00006F4E  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  10614. 00006F52  594F                     subq.w     A7, 4
  10615. 00006F54  266F 0028                movea.l    A3, [A7 + 0x28]
  10616. 00006F58  1C2F 002C                move.b     D6, [A7 + 0x2C]
  10617. 00006F5C  3E2F 0030                move.w     D7, [A7 + 0x30]
  10618. 00006F60  0C2B 0004 016A           cmpi.b     [A3 + 0x16A], 0x4
  10619. 00006F66  661A                     bne        +0x1C /* 00006F82 */
  10620. 00006F68  594F                     subq.w     A7, 4
  10621. 00006F6A  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  10622. 00006F6E  4E90                     jsr        [A0]
  10623. 00006F70  205F                     movea.l    A0, [A7]+
  10624. 00006F72  2648                     movea.l    A3, A0
  10625. 00006F74  200B                     move.l     D0, A3
  10626. 00006F76  660A                     bne        +0xC /* 00006F82 */
  10627. 00006F78  7000                     moveq.l    D0, 0x00
  10628. 00006F7A  584F                     addq.w     A7, 4
  10629. 00006F7C  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  10630. 00006F80  4E75                     rts
  10631. label00006F82:
  10632. 00006F82  0C2B 0003 016A           cmpi.b     [A3 + 0x16A], 0x3
  10633. 00006F88  6710                     beq        +0x12 /* 00006F9A */
  10634. 00006F8A  0C2B 0004 016A           cmpi.b     [A3 + 0x16A], 0x4
  10635. 00006F90  6708                     beq        +0xA /* 00006F9A */
  10636. 00006F92  0C2B 0006 016A           cmpi.b     [A3 + 0x16A], 0x6
  10637. 00006F98  660A                     bne        +0xC /* 00006FA4 */
  10638. label00006F9A:
  10639. 00006F9A  7000                     moveq.l    D0, 0x00
  10640. 00006F9C  584F                     addq.w     A7, 4
  10641. 00006F9E  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  10642. 00006FA2  4E75                     rts
  10643. label00006FA4:
  10644. 00006FA4  1F3C 0007                move.b     -[A7], 0x7
  10645. 00006FA8  3F2B 0166                move.w     -[A7], [A3 + 0x166]
  10646. 00006FAC  4EBA C412                jsr        [PC - 0x3BEE /* 000033C0 */]
  10647. 00006FB0  2810                     move.l     D4, [A0]
  10648. 00006FB2  4A84                     tst.l      D4
  10649. 00006FB4  584F                     addq.w     A7, 4
  10650. 00006FB6  6700 009A                beq        +0x9C /* 00007052 */
  10651. 00006FBA  1F3C 0006                move.b     -[A7], 0x6
  10652. 00006FBE  3F2B 0166                move.w     -[A7], [A3 + 0x166]
  10653. 00006FC2  4EBA C3FC                jsr        [PC - 0x3C04 /* 000033C0 */]
  10654. 00006FC6  2848                     movea.l    A4, A0
  10655. 00006FC8  2F3C 4B43 4852           move.l     -[A7], 0x4B434852 /* 'KCHR' */
  10656. 00006FCE  4267                     clr.w      -[A7]
  10657. 00006FD0  A9A0                     syscall    GetResource
  10658. 00006FD2  205F                     movea.l    A0, [A7]+
  10659. 00006FD4  2448                     movea.l    A2, A0
  10660. 00006FD6  2008                     move.l     D0, A0
  10661. 00006FD8  6718                     beq        +0x1A /* 00006FF2 */
  10662. 00006FDA  4297                     clr.l      [A7]
  10663. 00006FDC  594F                     subq.w     A7, 4
  10664. 00006FDE  2F12                     move.l     -[A7], [A2]
  10665. 00006FE0  7000                     moveq.l    D0, 0x00
  10666. 00006FE2  1006                     move.b     D0, D6
  10667. 00006FE4  3F00                     move.w     -[A7], D0
  10668. 00006FE6  486F 000A                pea.l      [A7 + 0xA]
  10669. 00006FEA  A9C3                     syscall    KeyTranslate/KeyTrans
  10670. 00006FEC  201F                     move.l     D0, [A7]+
  10671. 00006FEE  1A00                     move.b     D5, D0
  10672. 00006FF0  6004                     bra        +0x6 /* 00006FF6 */
  10673. label00006FF2:
  10674. 00006FF2  1A2F 002E                move.b     D5, [A7 + 0x2E]
  10675. label00006FF6:
  10676. 00006FF6  2454                     movea.l    A2, [A4]
  10677. 00006FF8  7600                     moveq.l    D3, 0x00
  10678. 00006FFA  6052                     bra        +0x54 /* 0000704E */
  10679. label00006FFC:
  10680. 00006FFC  4AAA 0004                tst.l      [A2 + 0x4]
  10681. 00007000  6748                     beq        +0x4A /* 0000704A */
  10682. 00007002  206A 0004                movea.l    A0, [A2 + 0x4]
  10683. 00007006  4A90                     tst.l      [A0]
  10684. 00007008  6740                     beq        +0x42 /* 0000704A */
  10685. 0000700A  4A2A 0001                tst.b      [A2 + 0x1]
  10686. 0000700E  6704                     beq        +0x6 /* 00007014 */
  10687. 00007010  BC12                     cmp.b      D6, [A2]
  10688. 00007012  670A                     beq        +0xC /* 0000701E */
  10689. label00007014:
  10690. 00007014  4A2A 0001                tst.b      [A2 + 0x1]
  10691. 00007018  6630                     bne        +0x32 /* 0000704A */
  10692. 0000701A  BA12                     cmp.b      D5, [A2]
  10693. 0000701C  662C                     bne        +0x2E /* 0000704A */
  10694. label0000701E:
  10695. 0000701E  302A 0002                move.w     D0, [A2 + 0x2]
  10696. 00007022  48C0                     ext.l      D0
  10697. 00007024  3207                     move.w     D1, D7
  10698. 00007026  0281 0000 0B00           andi.l     D1, 0xB00
  10699. 0000702C  B280                     cmp.l      D1, D0
  10700. 0000702E  661A                     bne        +0x1C /* 0000704A */
  10701. 00007030  42A7                     clr.l      -[A7]
  10702. 00007032  4227                     clr.b      -[A7]
  10703. 00007034  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  10704. 00007038  2F0B                     move.l     -[A7], A3
  10705. 0000703A  4EAD E970                jsr        [A5 - 0x1690]
  10706. 0000703E  7001                     moveq.l    D0, 0x01
  10707. 00007040  4FEF 0012                lea.l      A7, [A7 + 0x12]
  10708. 00007044  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  10709. 00007048  4E75                     rts
  10710. label0000704A:
  10711. 0000704A  5283                     addq.l     D3, 1
  10712. 0000704C  508A                     addq.l     A2, 8
  10713. label0000704E:
  10714. 0000704E  B684                     cmp.l      D3, D4
  10715. 00007050  6DAA                     blt        -0x54 /* 00006FFC */
  10716. label00007052:
  10717. 00007052  7000                     moveq.l    D0, 0x00
  10718. 00007054  584F                     addq.w     A7, 4
  10719. 00007056  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  10720. 0000705A  4E75                     rts
  10721. fn0000705C:
  10722. 0000705C  48E7 0038                movem.l    -[A7], A2,A3,A4
  10723. 00007060  514F                     subq.w     A7, 8
  10724. 00007062  286F 0018                movea.l    A4, [A7 + 0x18]
  10725. 00007066  95CA                     sub.l      A2, A2
  10726. 00007068  97CB                     sub.l      A3, A3
  10727. 0000706A  594F                     subq.w     A7, 4
  10728. 0000706C  A8D8                     syscall    NewRgn
  10729. 0000706E  205F                     movea.l    A0, [A7]+
  10730. 00007070  2448                     movea.l    A2, A0
  10731. 00007072  200A                     move.l     D0, A2
  10732. 00007074  6772                     beq        +0x74 /* 000070E8 */
  10733. 00007076  594F                     subq.w     A7, 4
  10734. 00007078  A8D8                     syscall    NewRgn
  10735. 0000707A  205F                     movea.l    A0, [A7]+
  10736. 0000707C  2648                     movea.l    A3, A0
  10737. 0000707E  200B                     move.l     D0, A3
  10738. 00007080  6766                     beq        +0x68 /* 000070E8 */
  10739. 00007082  2F0A                     move.l     -[A7], A2
  10740. 00007084  486C 0010                pea.l      [A4 + 0x10]
  10741. 00007088  A8DF                     syscall    RectRgn
  10742. 0000708A  4227                     clr.b      -[A7]
  10743. 0000708C  486F 0002                pea.l      [A7 + 0x2]
  10744. 00007090  486F 000A                pea.l      [A7 + 0xA]
  10745. 00007094  2F0C                     move.l     -[A7], A4
  10746. 00007096  4EBA E69A                jsr        [PC - 0x1966 /* 00005732 */]
  10747. 0000709A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10748. 0000709E  6014                     bra        +0x16 /* 000070B4 */
  10749. label000070A0:
  10750. 000070A0  2F0B                     move.l     -[A7], A3
  10751. 000070A2  206F 0008                movea.l    A0, [A7 + 0x8]
  10752. 000070A6  4868 0040                pea.l      [A0 + 0x40]
  10753. 000070AA  A8DF                     syscall    RectRgn
  10754. 000070AC  2F0A                     move.l     -[A7], A2
  10755. 000070AE  2F0B                     move.l     -[A7], A3
  10756. 000070B0  2F0A                     move.l     -[A7], A2
  10757. 000070B2  A8E6                     syscall    DiffRgn
  10758. label000070B4:
  10759. 000070B4  1F3C 0001                move.b     -[A7], 0x1
  10760. 000070B8  486F 0002                pea.l      [A7 + 0x2]
  10761. 000070BC  486F 000A                pea.l      [A7 + 0xA]
  10762. 000070C0  2F0C                     move.l     -[A7], A4
  10763. 000070C2  4EBA E66E                jsr        [PC - 0x1992 /* 00005732 */]
  10764. 000070C6  4A80                     tst.l      D0
  10765. 000070C8  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10766. 000070CC  66D2                     bne        -0x2C /* 000070A0 */
  10767. 000070CE  1F3C 0002                move.b     -[A7], 0x2
  10768. 000070D2  486F 0002                pea.l      [A7 + 0x2]
  10769. 000070D6  486F 000A                pea.l      [A7 + 0xA]
  10770. 000070DA  2F0C                     move.l     -[A7], A4
  10771. 000070DC  4EBA E654                jsr        [PC - 0x19AC /* 00005732 */]
  10772. 000070E0  2F0B                     move.l     -[A7], A3
  10773. 000070E2  A8D9                     syscall    DisposRgn/DisposeRgn
  10774. 000070E4  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10775. label000070E8:
  10776. 000070E8  204A                     movea.l    A0, A2
  10777. 000070EA  504F                     addq.w     A7, 8
  10778. 000070EC  4CDF 1C00                movem.l    A2,A3,A4, [A7]+
  10779. 000070F0  4E75                     rts
  10780. fn000070F2:
  10781. 000070F2  48E7 1020                movem.l    -[A7], D3,A2
  10782. 000070F6  95CA                     sub.l      A2, A2
  10783. 000070F8  7601                     moveq.l    D3, 0x01
  10784. 000070FA  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  10785. 000070FE  4EBA FF5C                jsr        [PC - 0xA4 /* 0000705C */]
  10786. 00007102  2448                     movea.l    A2, A0
  10787. 00007104  200A                     move.l     D0, A2
  10788. 00007106  584F                     addq.w     A7, 4
  10789. 00007108  671A                     beq        +0x1C /* 00007124 */
  10790. 0000710A  554F                     subq.w     A7, 2
  10791. 0000710C  2F0A                     move.l     -[A7], A2
  10792. 0000710E  A8E2                     syscall    EmptyRgn
  10793. 00007110  101F                     move.b     D0, [A7]+
  10794. 00007112  57C0                     seq        D0
  10795. 00007114  4400                     neg.b      D0
  10796. 00007116  4880                     ext.w      D0
  10797. 00007118  48C0                     ext.l      D0
  10798. 0000711A  2600                     move.l     D3, D0
  10799. 0000711C  2F0A                     move.l     -[A7], A2
  10800. 0000711E  A879                     syscall    SetClip
  10801. 00007120  2F0A                     move.l     -[A7], A2
  10802. 00007122  A8D9                     syscall    DisposRgn/DisposeRgn
  10803. label00007124:
  10804. 00007124  2003                     move.l     D0, D3
  10805. 00007126  4CDF 0408                movem.l    D3,A2, [A7]+
  10806. 0000712A  4E75                     rts
  10807. fn0000712C:
  10808. 0000712C  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  10809. 00007130  514F                     subq.w     A7, 8
  10810. 00007132  2C2F 0028                move.l     D6, [A7 + 0x28]
  10811. 00007136  266F 002C                movea.l    A3, [A7 + 0x2C]
  10812. 0000713A  42AF 0004                clr.l      [A7 + 0x4]
  10813. 0000713E  95CA                     sub.l      A2, A2
  10814. 00007140  76FF                     moveq.l    D3, 0xFFFFFFFF
  10815. 00007142  3A2F 0030                move.w     D5, [A7 + 0x30]
  10816. 00007146  554F                     subq.w     A7, 2
  10817. 00007148  2F0B                     move.l     -[A7], A3
  10818. 0000714A  486F 000A                pea.l      [A7 + 0xA]
  10819. 0000714E  204B                     movea.l    A0, A3
  10820. 00007150  70FF                     moveq.l    D0, 0xFFFFFFFF
  10821. label00007152:
  10822. 00007152  5280                     addq.l     D0, 1
  10823. 00007154  4A18                     tst.b      [A0]+
  10824. 00007156  66FA                     bne        -0x4 /* 00007152 */
  10825. 00007158  2F00                     move.l     -[A7], D0
  10826. 0000715A  4EAD DA36                jsr        [A5 - 0x25CA]
  10827. 0000715E  301F                     move.w     D0, [A7]+
  10828. 00007160  670A                     beq        +0xC /* 0000716C */
  10829. 00007162  70FF                     moveq.l    D0, 0xFFFFFFFF
  10830. 00007164  504F                     addq.w     A7, 8
  10831. 00007166  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  10832. 0000716A  4E75                     rts
  10833. label0000716C:
  10834. 0000716C  4AAF 003A                tst.l      [A7 + 0x3A]
  10835. 00007170  6742                     beq        +0x44 /* 000071B4 */
  10836. 00007172  4297                     clr.l      [A7]
  10837. 00007174  4857                     pea.l      [A7]
  10838. 00007176  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  10839. 0000717A  2F06                     move.l     -[A7], D6
  10840. 0000717C  3F2F 003C                move.w     -[A7], [A7 + 0x3C]
  10841. 00007180  4EAD E468                jsr        [A5 - 0x1B98]
  10842. 00007184  2800                     move.l     D4, D0
  10843. 00007186  4A84                     tst.l      D4
  10844. 00007188  4FEF 000E                lea.l      A7, [A7 + 0xE]
  10845. 0000718C  6D12                     blt        +0x14 /* 000071A0 */
  10846. 0000718E  4A97                     tst.l      [A7]
  10847. 00007190  660E                     bne        +0x10 /* 000071A0 */
  10848. 00007192  2F04                     move.l     -[A7], D4
  10849. 00007194  3F2F 0034                move.w     -[A7], [A7 + 0x34]
  10850. 00007198  4EAD E188                jsr        [A5 - 0x1E78]
  10851. 0000719C  2448                     movea.l    A2, A0
  10852. 0000719E  5C4F                     addq.w     A7, 6
  10853. label000071A0:
  10854. 000071A0  200A                     move.l     D0, A2
  10855. 000071A2  6626                     bne        +0x28 /* 000071CA */
  10856. 000071A4  2F2F 0004                move.l     -[A7], [A7 + 0x4]
  10857. 000071A8  2F2F 0028                move.l     -[A7], [A7 + 0x28]
  10858. 000071AC  4EAD DB74                jsr        [A5 - 0x248C]
  10859. 000071B0  504F                     addq.w     A7, 8
  10860. 000071B2  6016                     bra        +0x18 /* 000071CA */
  10861. label000071B4:
  10862. 000071B4  42A7                     clr.l      -[A7]
  10863. 000071B6  486F 0034                pea.l      [A7 + 0x34]
  10864. 000071BA  2F2F 000C                move.l     -[A7], [A7 + 0xC]
  10865. 000071BE  2F06                     move.l     -[A7], D6
  10866. 000071C0  4EBA 9BC8                jsr        [PC - 0x6438 /* 00000D8A */]
  10867. 000071C4  2448                     movea.l    A2, A0
  10868. 000071C6  4FEF 0010                lea.l      A7, [A7 + 0x10]
  10869. label000071CA:
  10870. 000071CA  200A                     move.l     D0, A2
  10871. 000071CC  6720                     beq        +0x22 /* 000071EE */
  10872. 000071CE  2652                     movea.l    A3, [A2]
  10873. 000071D0  2613                     move.l     D3, [A3]
  10874. 000071D2  206F 0032                movea.l    A0, [A7 + 0x32]
  10875. 000071D6  20AB 0004                move.l     [A0], [A3 + 0x4]
  10876. 000071DA  4AAD B2D8                tst.l      [A5 - 0x4D28]
  10877. 000071DE  670E                     beq        +0x10 /* 000071EE */
  10878. 000071E0  BA6F 0030                cmp.w      D5, [A7 + 0x30]
  10879. 000071E4  6708                     beq        +0xA /* 000071EE */
  10880. 000071E6  206F 0036                movea.l    A0, [A7 + 0x36]
  10881. 000071EA  30AF 0030                move.w     [A0], [A7 + 0x30]
  10882. label000071EE:
  10883. 000071EE  4AAF 0004                tst.l      [A7 + 0x4]
  10884. 000071F2  6706                     beq        +0x8 /* 000071FA */
  10885. 000071F4  206F 0004                movea.l    A0, [A7 + 0x4]
  10886. 000071F8  A023                     syscall    DisposHandle/DisposeHandle
  10887. label000071FA:
  10888. 000071FA  2003                     move.l     D0, D3
  10889. 000071FC  504F                     addq.w     A7, 8
  10890. 000071FE  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  10891. 00007202  4E75                     rts
  10892. fn00007204:
  10893. 00007204  48E7 1030                movem.l    -[A7], D3,A2,A3
  10894. 00007208  262F 0012                move.l     D3, [A7 + 0x12]
  10895. 0000720C  266F 0016                movea.l    A3, [A7 + 0x16]
  10896. 00007210  246F 001A                movea.l    A2, [A7 + 0x1A]
  10897. 00007214  302F 0010                move.w     D0, [A7 + 0x10]
  10898. 00007218  48C0                     ext.l      D0
  10899. 0000721A  670A                     beq        +0xC /* 00007226 */
  10900. 0000721C  5380                     subq.l     D0, 1
  10901. 0000721E  6720                     beq        +0x22 /* 00007240 */
  10902. 00007220  5380                     subq.l     D0, 1
  10903. 00007222  6736                     beq        +0x38 /* 0000725A */
  10904. 00007224  4E71                     nop
  10905. label00007226:
  10906. 00007226  7001                     moveq.l    D0, 0x01
  10907. 00007228  2480                     move.l     [A2], D0
  10908. 0000722A  2680                     move.l     [A3], D0
  10909. 0000722C  4A83                     tst.l      D3
  10910. 0000722E  6604                     bne        +0x6 /* 00007234 */
  10911. 00007230  7008                     moveq.l    D0, 0x08
  10912. 00007232  6006                     bra        +0x8 /* 0000723A */
  10913. label00007234:
  10914. 00007234  302D B41E                move.w     D0, [A5 - 0x4BE2]
  10915. 00007238  48C0                     ext.l      D0
  10916. label0000723A:
  10917. 0000723A  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  10918. 0000723E  4E75                     rts
  10919. label00007240:
  10920. 00007240  4293                     clr.l      [A3]
  10921. 00007242  7001                     moveq.l    D0, 0x01
  10922. 00007244  2480                     move.l     [A2], D0
  10923. 00007246  4A83                     tst.l      D3
  10924. 00007248  6604                     bne        +0x6 /* 0000724E */
  10925. 0000724A  7004                     moveq.l    D0, 0x04
  10926. 0000724C  6006                     bra        +0x8 /* 00007254 */
  10927. label0000724E:
  10928. 0000724E  203C 0000 0810           move.l     D0, 0x810
  10929. label00007254:
  10930. 00007254  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  10931. 00007258  4E75                     rts
  10932. label0000725A:
  10933. 0000725A  4A83                     tst.l      D3
  10934. 0000725C  6710                     beq        +0x12 /* 0000726E */
  10935. 0000725E  4293                     clr.l      [A3]
  10936. 00007260  7001                     moveq.l    D0, 0x01
  10937. 00007262  2480                     move.l     [A2], D0
  10938. 00007264  303C 0810                move.w     D0, 0x810
  10939. 00007268  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  10940. 0000726C  4E75                     rts
  10941. label0000726E:
  10942. 0000726E  4292                     clr.l      [A2]
  10943. 00007270  4293                     clr.l      [A3]
  10944. 00007272  7002                     moveq.l    D0, 0x02
  10945. 00007274  4CDF 0C08                movem.l    D3,A2,A3, [A7]+
  10946. 00007278  4E75                     rts
  10947. fn0000727A:
  10948. 0000727A  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  10949. 0000727E  5D4F                     subq.w     A7, 6
  10950. 00007280  1A2F 0024                move.b     D5, [A7 + 0x24]
  10951. 00007284  2C2F 0026                move.l     D6, [A7 + 0x26]
  10952. 00007288  266F 002A                movea.l    A3, [A7 + 0x2A]
  10953. 0000728C  246F 002E                movea.l    A2, [A7 + 0x2E]
  10954. 00007290  0C05 0006                cmpi.b     D5, 0x6
  10955. 00007294  660A                     bne        +0xC /* 000072A0 */
  10956. 00007296  7008                     moveq.l    D0, 0x08
  10957. 00007298  5C4F                     addq.w     A7, 6
  10958. 0000729A  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  10959. 0000729E  4E75                     rts
  10960. label000072A0:
  10961. 000072A0  0C05 0004                cmpi.b     D5, 0x4
  10962. 000072A4  660C                     bne        +0xE /* 000072B2 */
  10963. 000072A6  302D B41E                move.w     D0, [A5 - 0x4BE2]
  10964. 000072AA  5C4F                     addq.w     A7, 6
  10965. 000072AC  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  10966. 000072B0  4E75                     rts
  10967. label000072B2:
  10968. 000072B2  4857                     pea.l      [A7]
  10969. 000072B4  3F2F 0026                move.w     -[A7], [A7 + 0x26]
  10970. 000072B8  4EAD E2F8                jsr        [A5 - 0x1D08]
  10971. 000072BC  302F 0006                move.w     D0, [A7 + 0x6]
  10972. 000072C0  48C0                     ext.l      D0
  10973. 000072C2  4A80                     tst.l      D0
  10974. 000072C4  5C4F                     addq.w     A7, 6
  10975. 000072C6  6D0A                     blt        +0xC /* 000072D2 */
  10976. 000072C8  3017                     move.w     D0, [A7]
  10977. 000072CA  48C0                     ext.l      D0
  10978. 000072CC  7202                     moveq.l    D1, 0x02
  10979. 000072CE  B081                     cmp.l      D0, D1
  10980. 000072D0  6F02                     ble        +0x4 /* 000072D4 */
  10981. label000072D2:
  10982. 000072D2  4257                     clr.w      [A7]
  10983. label000072D4:
  10984. 000072D4  362F 0002                move.w     D3, [A7 + 0x2]
  10985. 000072D8  48C3                     ext.l      D3
  10986. 000072DA  4A83                     tst.l      D3
  10987. 000072DC  6D06                     blt        +0x8 /* 000072E4 */
  10988. 000072DE  7002                     moveq.l    D0, 0x02
  10989. 000072E0  B680                     cmp.l      D3, D0
  10990. 000072E2  6F04                     ble        +0x6 /* 000072E8 */
  10991. label000072E4:
  10992. 000072E4  426F 0002                clr.w      [A7 + 0x2]
  10993. label000072E8:
  10994. 000072E8  382F 0004                move.w     D4, [A7 + 0x4]
  10995. 000072EC  48C4                     ext.l      D4
  10996. 000072EE  4A84                     tst.l      D4
  10997. 000072F0  6D06                     blt        +0x8 /* 000072F8 */
  10998. 000072F2  7001                     moveq.l    D0, 0x01
  10999. 000072F4  B880                     cmp.l      D4, D0
  11000. 000072F6  6F04                     ble        +0x6 /* 000072FC */
  11001. label000072F8:
  11002. 000072F8  426F 0004                clr.w      [A7 + 0x4]
  11003. label000072FC:
  11004. 000072FC  7000                     moveq.l    D0, 0x00
  11005. 000072FE  1005                     move.b     D0, D5
  11006. 00007300  670A                     beq        +0xC /* 0000730C */
  11007. 00007302  5380                     subq.l     D0, 1
  11008. 00007304  6736                     beq        +0x38 /* 0000733C */
  11009. 00007306  5380                     subq.l     D0, 1
  11010. 00007308  671A                     beq        +0x1C /* 00007324 */
  11011. 0000730A  4E71                     nop
  11012. label0000730C:
  11013. 0000730C  2F0A                     move.l     -[A7], A2
  11014. 0000730E  2F0B                     move.l     -[A7], A3
  11015. 00007310  2F06                     move.l     -[A7], D6
  11016. 00007312  3F2F 000C                move.w     -[A7], [A7 + 0xC]
  11017. 00007316  4EBA FEEC                jsr        [PC - 0x114 /* 00007204 */]
  11018. 0000731A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  11019. 0000731E  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  11020. 00007322  4E75                     rts
  11021. label00007324:
  11022. 00007324  2F0A                     move.l     -[A7], A2
  11023. 00007326  2F0B                     move.l     -[A7], A3
  11024. 00007328  2F06                     move.l     -[A7], D6
  11025. 0000732A  3F2F 000E                move.w     -[A7], [A7 + 0xE]
  11026. 0000732E  4EBA FED4                jsr        [PC - 0x12C /* 00007204 */]
  11027. 00007332  4FEF 0014                lea.l      A7, [A7 + 0x14]
  11028. 00007336  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  11029. 0000733A  4E75                     rts
  11030. label0000733C:
  11031. 0000733C  4292                     clr.l      [A2]
  11032. 0000733E  4293                     clr.l      [A3]
  11033. 00007340  4A6F 0004                tst.w      [A7 + 0x4]
  11034. 00007344  6712                     beq        +0x14 /* 00007358 */
  11035. 00007346  302D 135E                move.w     D0, [A5 + 0x135E]
  11036. 0000734A  48C0                     ext.l      D0
  11037. 0000734C  0680 0000 0080           addi.l     D0, 0x80
  11038. 00007352  E988                     lsl        D0, 4
  11039. 00007354  5280                     addq.l     D0, 1
  11040. 00007356  600E                     bra        +0x10 /* 00007366 */
  11041. label00007358:
  11042. 00007358  302D 135E                move.w     D0, [A5 + 0x135E]
  11043. 0000735C  48C0                     ext.l      D0
  11044. 0000735E  0680 0000 0080           addi.l     D0, 0x80
  11045. 00007364  E988                     lsl        D0, 4
  11046. label00007366:
  11047. 00007366  5C4F                     addq.w     A7, 6
  11048. 00007368  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  11049. 0000736C  4E75                     rts
  11050. fn0000736E:
  11051. 0000736E  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  11052. 00007372  4FEF FFE4                lea.l      A7, [A7 - 0x1C]
  11053. 00007376  246F 0044                movea.l    A2, [A7 + 0x44]
  11054. 0000737A  264A                     movea.l    A3, A2
  11055. 0000737C  508B                     addq.l     A3, 8
  11056. 0000737E  508B                     addq.l     A3, 8
  11057. 00007380  42A7                     clr.l      -[A7]
  11058. 00007382  4EAD DD50                jsr        [A5 - 0x22B0]
  11059. 00007386  2F0A                     move.l     -[A7], A2
  11060. 00007388  4EBA FD68                jsr        [PC - 0x298 /* 000070F2 */]
  11061. 0000738C  4A80                     tst.l      D0
  11062. 0000738E  504F                     addq.w     A7, 8
  11063. 00007390  660E                     bne        +0x10 /* 000073A0 */
  11064. 00007392  4EAD DD58                jsr        [A5 - 0x22A8]
  11065. 00007396  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  11066. 0000739A  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  11067. 0000739E  4E75                     rts
  11068. label000073A0:
  11069. 000073A0  4AAA 0128                tst.l      [A2 + 0x128]
  11070. 000073A4  6620                     bne        +0x22 /* 000073C6 */
  11071. 000073A6  486A 0128                pea.l      [A2 + 0x128]
  11072. 000073AA  486F 0004                pea.l      [A7 + 0x4]
  11073. 000073AE  486F 000E                pea.l      [A7 + 0xE]
  11074. 000073B2  486F 001A                pea.l      [A7 + 0x1A]
  11075. 000073B6  2F2A 0148                move.l     -[A7], [A2 + 0x148]
  11076. 000073BA  3F2A 0166                move.w     -[A7], [A2 + 0x166]
  11077. 000073BE  4EAD E2E8                jsr        [A5 - 0x1D18]
  11078. 000073C2  4FEF 0016                lea.l      A7, [A7 + 0x16]
  11079. label000073C6:
  11080. 000073C6  4AAA 0128                tst.l      [A2 + 0x128]
  11081. 000073CA  6700 00B4                beq        +0xB6 /* 00007480 */
  11082. 000073CE  206A 0128                movea.l    A0, [A2 + 0x128]
  11083. 000073D2  2050                     movea.l    A0, [A0]
  11084. 000073D4  2F68 0002 0014           move.l     [A7 + 0x14], [A0 + 0x2]
  11085. 000073DA  2F68 0006 0018           move.l     [A7 + 0x18], [A0 + 0x6]
  11086. 000073E0  362B 0002                move.w     D3, [A3 + 0x2]
  11087. 000073E4  382B 0006                move.w     D4, [A3 + 0x6]
  11088. 000073E8  2F0A                     move.l     -[A7], A2
  11089. 000073EA  4EAD EA48                jsr        [A5 - 0x15B8]
  11090. 000073EE  584F                     addq.w     A7, 4
  11091. 000073F0  2F00                     move.l     -[A7], D0
  11092. 000073F2  2F0A                     move.l     -[A7], A2
  11093. 000073F4  4EBA 8DCC                jsr        [PC - 0x7234 /* 000001C2 */]
  11094. 000073F8  48C0                     ext.l      D0
  11095. 000073FA  3213                     move.w     D1, [A3]
  11096. 000073FC  48C1                     ext.l      D1
  11097. 000073FE  D280                     add.l      D1, D0
  11098. 00007400  3F41 0014                move.w     [A7 + 0x14], D1
  11099. 00007404  3A2B 0004                move.w     D5, [A3 + 0x4]
  11100. 00007408  302F 001E                move.w     D0, [A7 + 0x1E]
  11101. 0000740C  48C0                     ext.l      D0
  11102. 0000740E  2840                     movea.l    A4, D0
  11103. 00007410  3C2F 0022                move.w     D6, [A7 + 0x22]
  11104. 00007414  48C6                     ext.l      D6
  11105. 00007416  9C8C                     sub.l      D6, A4
  11106. 00007418  302F 001C                move.w     D0, [A7 + 0x1C]
  11107. 0000741C  48C0                     ext.l      D0
  11108. 0000741E  3E2F 0020                move.w     D7, [A7 + 0x20]
  11109. 00007422  48C7                     ext.l      D7
  11110. 00007424  9E80                     sub.l      D7, D0
  11111. 00007426  486F 001C                pea.l      [A7 + 0x1C]
  11112. 0000742A  3003                     move.w     D0, D3
  11113. 0000742C  48C0                     ext.l      D0
  11114. 0000742E  908C                     sub.l      D0, A4
  11115. 00007430  3F00                     move.w     -[A7], D0
  11116. 00007432  302F 0022                move.w     D0, [A7 + 0x22]
  11117. 00007436  48C0                     ext.l      D0
  11118. 00007438  48C1                     ext.l      D1
  11119. 0000743A  9280                     sub.l      D1, D0
  11120. 0000743C  3F01                     move.w     -[A7], D1
  11121. 0000743E  A8A8                     syscall    OffsetRect
  11122. 00007440  504F                     addq.w     A7, 8
  11123. 00007442  6034                     bra        +0x36 /* 00007478 */
  11124. label00007444:
  11125. 00007444  2F2A 0128                move.l     -[A7], [A2 + 0x128]
  11126. 00007448  486F 0018                pea.l      [A7 + 0x18]
  11127. 0000744C  A8F6                     syscall    DrawPicture
  11128. 0000744E  486F 0014                pea.l      [A7 + 0x14]
  11129. 00007452  3F06                     move.w     -[A7], D6
  11130. 00007454  4267                     clr.w      -[A7]
  11131. 00007456  A8A8                     syscall    OffsetRect
  11132. 00007458  302F 0016                move.w     D0, [A7 + 0x16]
  11133. 0000745C  48C0                     ext.l      D0
  11134. 0000745E  2C40                     movea.l    A6, D0
  11135. 00007460  3004                     move.w     D0, D4
  11136. 00007462  48C0                     ext.l      D0
  11137. 00007464  BDC0                     cmpa.l     A6, D0
  11138. 00007466  6D10                     blt        +0x12 /* 00007478 */
  11139. 00007468  486F 0014                pea.l      [A7 + 0x14]
  11140. 0000746C  3003                     move.w     D0, D3
  11141. 0000746E  48C0                     ext.l      D0
  11142. 00007470  908E                     sub.l      D0, A6
  11143. 00007472  3F00                     move.w     -[A7], D0
  11144. 00007474  3F07                     move.w     -[A7], D7
  11145. 00007476  A8A8                     syscall    OffsetRect
  11146. label00007478:
  11147. 00007478  BA6F 0014                cmp.w      D5, [A7 + 0x14]
  11148. 0000747C  6EC6                     bgt        -0x38 /* 00007444 */
  11149. 0000747E  6036                     bra        +0x38 /* 000074B6 */
  11150. label00007480:
  11151. 00007480  4EAD DD70                jsr        [A5 - 0x2290]
  11152. 00007484  7000                     moveq.l    D0, 0x00
  11153. 00007486  102D 81A0                move.b     D0, [A5 - 0x7E60]
  11154. 0000748A  7202                     moveq.l    D1, 0x02
  11155. 0000748C  B081                     cmp.l      D0, D1
  11156. 0000748E  6D1E                     blt        +0x20 /* 000074AE */
  11157. 00007490  42A7                     clr.l      -[A7]
  11158. 00007492  42A7                     clr.l      -[A7]
  11159. 00007494  42A7                     clr.l      -[A7]
  11160. 00007496  486F 001A                pea.l      [A7 + 0x1A]
  11161. 0000749A  4878 FFFF                push.l     0xFFFF
  11162. 0000749E  2F0A                     move.l     -[A7], A2
  11163. 000074A0  4EBA ED8E                jsr        [PC - 0x1272 /* 00006230 */]
  11164. 000074A4  486F 0026                pea.l      [A7 + 0x26]
  11165. 000074A8  AA15                     syscall    RGBBackColor
  11166. 000074AA  4FEF 0018                lea.l      A7, [A7 + 0x18]
  11167. label000074AE:
  11168. 000074AE  2F0B                     move.l     -[A7], A3
  11169. 000074B0  A8A3                     syscall    EraseRect
  11170. 000074B2  4EAD DD78                jsr        [A5 - 0x2288]
  11171. label000074B6:
  11172. 000074B6  4EAD DD58                jsr        [A5 - 0x22A8]
  11173. 000074BA  4FEF 001C                lea.l      A7, [A7 + 0x1C]
  11174. 000074BE  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  11175. 000074C2  4E75                     rts
  11176. fn000074C4:
  11177. 000074C4  7000                     moveq.l    D0, 0x00
  11178. 000074C6  4E75                     rts
  11179. fn000074C8:
  11180. 000074C8  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  11181. 000074CC  266F 001C                movea.l    A3, [A7 + 0x1C]
  11182. 000074D0  2C2F 0020                move.l     D6, [A7 + 0x20]
  11183. 000074D4  594F                     subq.w     A7, 4
  11184. 000074D6  2F2B 0134                move.l     -[A7], [A3 + 0x134]
  11185. 000074DA  4EAD D9AC                jsr        [A5 - 0x2654]
  11186. 000074DE  201F                     move.l     D0, [A7]+
  11187. 000074E0  7258                     moveq.l    D1, 0x58
  11188. 000074E2  4EAD D8FE                jsr        [A5 - 0x2702]
  11189. 000074E6  2A00                     move.l     D5, D0
  11190. 000074E8  206B 0134                movea.l    A0, [A3 + 0x134]
  11191. 000074EC  2450                     movea.l    A2, [A0]
  11192. 000074EE  7800                     moveq.l    D4, 0x00
  11193. 000074F0  2604                     move.l     D3, D4
  11194. 000074F2  600E                     bra        +0x10 /* 00007502 */
  11195. label000074F4:
  11196. 000074F4  BCAA 004C                cmp.l      D6, [A2 + 0x4C]
  11197. 000074F8  6602                     bne        +0x4 /* 000074FC */
  11198. 000074FA  5284                     addq.l     D4, 1
  11199. label000074FC:
  11200. 000074FC  5283                     addq.l     D3, 1
  11201. 000074FE  7058                     moveq.l    D0, 0x58
  11202. 00007500  D5C0                     add.l      A2, D0
  11203. label00007502:
  11204. 00007502  B685                     cmp.l      D3, D5
  11205. 00007504  6DEE                     blt        -0x10 /* 000074F4 */
  11206. 00007506  2004                     move.l     D0, D4
  11207. 00007508  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  11208. 0000750C  4E75                     rts
  11209. fn0000750E:
  11210. 0000750E  48E7 1E30                movem.l    -[A7], D3,D4,D5,D6,A2,A3
  11211. 00007512  266F 001C                movea.l    A3, [A7 + 0x1C]
  11212. 00007516  2C2F 0020                move.l     D6, [A7 + 0x20]
  11213. 0000751A  282F 0024                move.l     D4, [A7 + 0x24]
  11214. 0000751E  2A04                     move.l     D5, D4
  11215. 00007520  9A86                     sub.l      D5, D6
  11216. 00007522  2F0B                     move.l     -[A7], A3
  11217. 00007524  4EAD EA98                jsr        [A5 - 0x1568]
  11218. 00007528  2F0B                     move.l     -[A7], A3
  11219. 0000752A  206B 0004                movea.l    A0, [A3 + 0x4]
  11220. 0000752E  4E90                     jsr        [A0]
  11221. 00007530  2F2B 0054                move.l     -[A7], [A3 + 0x54]
  11222. 00007534  2F2B 0048                move.l     -[A7], [A3 + 0x48]
  11223. 00007538  4EAD E388                jsr        [A5 - 0x1C78]
  11224. 0000753C  4A85                     tst.l      D5
  11225. 0000753E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  11226. 00007542  6724                     beq        +0x26 /* 00007568 */
  11227. 00007544  244B                     movea.l    A2, A3
  11228. 00007546  2606                     move.l     D3, D6
  11229. 00007548  600A                     bra        +0xC /* 00007554 */
  11230. label0000754A:
  11231. 0000754A  53AA 0054                subq.l     [A2 + 0x54], 1
  11232. 0000754E  5283                     addq.l     D3, 1
  11233. 00007550  7058                     moveq.l    D0, 0x58
  11234. 00007552  D5C0                     add.l      A2, D0
  11235. label00007554:
  11236. 00007554  B684                     cmp.l      D3, D4
  11237. 00007556  6FF2                     ble        -0xC /* 0000754A */
  11238. 00007558  2005                     move.l     D0, D5
  11239. 0000755A  7258                     moveq.l    D1, 0x58
  11240. 0000755C  4EAD D8F8                jsr        [A5 - 0x2708]
  11241. 00007560  41EB 0058                lea.l      A0, [A3 + 0x58]
  11242. 00007564  224B                     movea.l    A1, A3
  11243. 00007566  A02E                     syscall    BlockMove/BlockMoveData
  11244. label00007568:
  11245. 00007568  4CDF 0C78                movem.l    D3,D4,D5,D6,A2,A3, [A7]+
  11246. 0000756C  4E75                     rts
  11247. fn0000756E:
  11248. 0000756E  2F0A                     move.l     -[A7], A2
  11249. 00007570  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  11250. 00007574  4EBA FAE6                jsr        [PC - 0x51A /* 0000705C */]
  11251. 00007578  2448                     movea.l    A2, A0
  11252. 0000757A  200A                     move.l     D0, A2
  11253. 0000757C  584F                     addq.w     A7, 4
  11254. 0000757E  6716                     beq        +0x18 /* 00007596 */
  11255. 00007580  2F2F 0008                move.l     -[A7], [A7 + 0x8]
  11256. 00007584  4EAD DD40                jsr        [A5 - 0x22C0]
  11257. 00007588  2F0A                     move.l     -[A7], A2
  11258. 0000758A  A927                     syscall    InvalRgn
  11259. 0000758C  4EAD DD48                jsr        [A5 - 0x22B8]
  11260. 00007590  2F0A                     move.l     -[A7], A2
  11261. 00007592  A8D9                     syscall    DisposRgn/DisposeRgn
  11262. 00007594  584F                     addq.w     A7, 4
  11263. label00007596:
  11264. 00007596  245F                     movea.l    A2, [A7]+
  11265. 00007598  4E75                     rts
  11266. 0000759A  0000 0000                ori.b      D0, 0x0
  11267. 0000759E  0000 0000                ori.b      D0, 0x0
  11268. 000075A2  0000 0000                ori.b      D0, 0x0
  11269.